I am writing an Org document with some large figures (images) which I would like to place on a separate page in landscape orientation when exporting to LaTeX. In LaTeX I can achieve what I want by using \begin{sidewaysfigure}
. What is the easiest way to get Org to do this?
Google turns up this documentation, which mentions sideways tables but not sideways figures AFAICT, and this patch, which should add support for sideways figures, but I don't think it has been merged into the version I installed from the Org-mode ELPA repository. (M-x org-version
displays Org-mode version 8.2.9 (8.2.9-elpaplus @ […] ~/.emacs.d/elpa/org-plus-contrib-20141012/
).
Is there an easy way to get this behavior with my current version of Org?
(Edited to add: It looks like the patch above has been merged into the bleeding-edge Org snapshot, so perhaps I should just install that. However, I would still be interested to know if there is a way to get this functionality using the current stable release of Org from October 2014).
\begin{sidewaysfigure}
?#+LATEX: \begin{sidewaysfigure}
and#+LATEX: \end{sidewaysfigure}
before and after, I get afigure
environment within asidewaysfigure
, which does not render properly. I could just drop down to LaTeX for the whole thing, of course, but I'd like to retain Org's ability to export to different formats as well if possible.:float sideways
patch to the stable version locally.sidewaysfigure
environment needs to replace thefigure
environment? Sounds like a job for exporti hooks. :-)