From: Manish <mailtomanish.sharma@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: label and ref in latex export
Date: Tue, 20 Jan 2009 08:00:20 +0530 [thread overview]
Message-ID: <e7cdbe30901191830n2022dffeq8a765cd8cae02fe5@mail.gmail.com> (raw)
In-Reply-To: <2A507D2B-DAD6-4DF4-9E37-F14357364C0B@uva.nl>
On Tue, Jan 20, 2009 at 2:17 AM, Carsten Dominik wrote:
>
> 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.
I did not realize that I could put that literal LaTeX in text which can
then be processed by PDFLaTeX.
>
>
> And the ATTR_LaTeX: has to be *before* the link to the figure.
Yes, I switched it by mistake while creating the example.
Thank you.
--
Manish
next prev parent reply other threads:[~2009-01-20 2:30 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
2009-01-20 2:30 ` Manish [this message]
-- 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=e7cdbe30901191830n2022dffeq8a765cd8cae02fe5@mail.gmail.com \
--to=mailtomanish.sharma@gmail.com \
--cc=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
/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).