Re: [O] Captions below figures in LaTeX export
Hi, Suvayu Ali fatkasuvayu+li...@gmail.com writes: I would like to put the caption command after includegraphics. Is that possible? I tried reordering the #+caption: line without success. If you are using a very recent version of Org, you could check `org-latex-caption-above'. Example: (let ((org-latex-caption-above nil)) (with-temp-buffer (insert #+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]]) (org-mode) (org-latex-export-as-latex nil nil nil t))) Hope it helps, Rasmus -- Er du tosset for noge' lårt!
[O] Captions below figures in LaTeX export
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. Any thoughts, ideas? Thanks in advance. Cheers, -- Suvayu Open source is the future. It sets us free.
Re: [O] Captions below figures in LaTeX export
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+li...@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.