From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: Captions below figures in LaTeX export
Date: Mon, 20 Oct 2014 23:13:19 +0200 [thread overview]
Message-ID: <20141020211319.GB2381@chitra.no-ip.org> (raw)
In-Reply-To: <CA+M2ft_aDFzMV8Hn+TSfHKtjK9+s6wM3eaFGkfcXmTQWcu01UA@mail.gmail.com>
Hi John,
On Mon, Oct 20, 2014 at 04:04:55PM -0500, John Hendy wrote:
>
> On Mon, Oct 20, 2014 at 2:44 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> > Hi everyone,
> >
> > I am trying to export to LaTeX, and I include images like this:
> >
> > #+name: fig:ads-glw-plot
> > #+caption: \BtoDh events measured using the GLW, and ADS methods.
> > #+attr_latex: :width 0.9\linewidth :placement [!ht]
> > [[file:ali/ADS_GLW_Fig2_Fig4.pdf]]
> >
> > When exported this generates LaTeX code like this:
> >
> > \begin{figure}[!ht]
> > \caption{\label{fig:ads-glw-plot}\BtoDh events measured using the GLW, and ADS methods.}
> > \centering
> > \includegraphics[width=0.9\linewidth]{ali/ADS_GLW_Fig2_Fig4.pdf}
> > \end{figure}
> >
> > I would like to put the caption command after includegraphics. Is that
> > possible? I tried reordering the #+caption: line without success.
> >
> This seems similar, though for tables. Perhaps the code could be adapted?
> - http://stackoverflow.com/questions/15642388/make-org-mode-table-caption-appear-below-table-when-exported-to-latex
That was very helpful! There is a master variable called
org-latex-caption-above. Setting it to nil, puts the caption below for
all elements. One can selectively put the caption above for some
elements by setting that variable to a list.
Thank you,
:)
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2014-10-20 21:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 19:44 Captions below figures in LaTeX export Suvayu Ali
[not found] ` <CA+M2ft_aDFzMV8Hn+TSfHKtjK9+s6wM3eaFGkfcXmTQWcu01UA@mail.gmail.com>
2014-10-20 21:13 ` Suvayu Ali [this message]
2014-10-21 11:33 ` Rasmus
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=20141020211319.GB2381@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@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).