Latex export: Fix the position of captions on unfontified src blocks
* lisp/ox-latex (org-latex-src-block): Change format string to position caption after figure content. Note: This is now consistent with the caption positioning for formatted src blocks, later in the same function. TINYCHANGE
This commit is contained in:
parent
75f73e0b87
commit
927f1bd5e9
lisp
|
@ -2046,11 +2046,11 @@ contextual information."
|
||||||
(float-env
|
(float-env
|
||||||
(cond ((and (not float) (plist-member attributes :float)) "%s")
|
(cond ((and (not float) (plist-member attributes :float)) "%s")
|
||||||
((string= "multicolumn" float)
|
((string= "multicolumn" float)
|
||||||
(format "\\begin{figure*}[%s]\n%s%%s\n\\end{figure*}"
|
(format "\\begin{figure*}[%s]\n%%s%s\n\\end{figure*}"
|
||||||
org-latex-default-figure-position
|
org-latex-default-figure-position
|
||||||
caption-str))
|
caption-str))
|
||||||
((or caption float)
|
((or caption float)
|
||||||
(format "\\begin{figure}[H]\n%s%%s\n\\end{figure}"
|
(format "\\begin{figure}[H]\n%%s%s\n\\end{figure}"
|
||||||
caption-str))
|
caption-str))
|
||||||
(t "%s"))))
|
(t "%s"))))
|
||||||
(format
|
(format
|
||||||
|
|
Loading…
Reference in New Issue