From: Carsten Dominik <dominik@science.uva.nl>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: label and ref in latex export
Date: Mon, 19 Jan 2009 21:47:40 +0100 [thread overview]
Message-ID: <2A507D2B-DAD6-4DF4-9E37-F14357364C0B@uva.nl> (raw)
In-Reply-To: <e7cdbe30901191126i151fb407k20c7c77f03175af1@mail.gmail.com>
On Jan 19, 2009, at 8:26 PM, Manish wrote:
> Hello,
>
> How do I refer to labels created for tables and figures in Org mode so
> it appears in LaTeX export?
>
> Currently I am using a BEGIN_LaTeX and END_LaTeX to enclose \ref like
> so. I am sure this is not how it was intended to be used but I
> couldn't
> locate anything in documentation.
>
> ,----
> | Please see figure
> | #+BEGIN_LaTeX
> | \ref{fig:results}
> | #+END_LaTeX
> |
> | #+CAPTION: Business Transaction over Business Units
> | #+LABEL: fig:results
> | [[./xxxxx.png]]
> | #+ATTR_LaTeX: scale=0.7
> `----
Just write \ref{fig:results} anywhere in the text and you should be
fine.
And the ATTR_LaTeX: has to be *before* the link to the figure.
- Carsten
next prev parent reply other threads:[~2009-01-19 20:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 19:26 label and ref in latex export Manish
2009-01-19 20:47 ` Carsten Dominik [this message]
2009-01-20 2:30 ` Manish
-- strict thread matches above, loose matches on Subject: below --
2012-10-11 1:21 Vikas Rawal
2012-10-11 3:04 ` Thomas S. Dye
2012-10-11 3:53 ` Vikas Rawal
2012-10-11 7:15 ` Thomas S. Dye
2012-10-11 8:34 ` Vikas Rawal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2A507D2B-DAD6-4DF4-9E37-F14357364C0B@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mailtomanish.sharma@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).