[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Captions below figures in LaTeX export
From: |
Suvayu Ali |
Subject: |
Re: [O] Captions below figures in LaTeX export |
Date: |
Mon, 20 Oct 2014 23:13:19 +0200 |
User-agent: |
Mutt/1.5.23.1 (2014-03-12) |
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 <address@hidden> 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.