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
|
@ -2046,11 +2046,11 @@ contextual information."
|
|||
(float-env
|
||||
(cond ((and (not float) (plist-member attributes :float)) "%s")
|
||||
((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
|
||||
caption-str))
|
||||
((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))
|
||||
(t "%s"))))
|
||||
(format
|
||||
|
|
Loading…
Reference in New Issue