This is a tiny patch to support a “:float sidewaysfigure” option in LaTeX
backend export
---
lisp/ox-latex.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index d65c975..c05ffb6 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -1801,6 +1801,7 @@ used as a communication channel."
(float (let ((float (plist-get attr :float)))
(cond ((and (not float) (plist-member attr :float)) nil)
((string= float "wrap") 'wrap)
+ ((string= float "sidewaysfigure") 'sidewaysfigure)
((string= float "multicolumn") 'multicolumn)
((or float
(org-element-property :caption parent)
@@ -1876,6 +1877,10 @@ used as a communication channel."
\\centering
%s%s
%s\\end{wrapfigure}" placement comment-include image-code caption))
+ (sidewaysfigure (format "\\begin{sidewaysfigure}%s
+\\centering
+%s%s
+%s\\end{sidewaysfigure}" placement comment-include image-code caption))
(multicolumn (format "\\begin{figure*}%s
\\centering
%s%s
--
1.8.4.3