mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-02 08:22:16 +00:00
org-latex.el: Support setting the :hfmt parameter from #+ATTR_LaTeX.
* org-latex.el (org-export-latex-tables): Support setting the :hfmt parameter from #+ATTR_LaTeX. TINYCHANGE
This commit is contained in:
parent
549c498bb6
commit
c627a22e29
@ -1998,6 +1998,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||
align (and attr (stringp attr)
|
||||
(string-match "\\<align=\\([^ \t\n\r]+\\)" attr)
|
||||
(match-string 1 attr))
|
||||
hfmt (and attr (stringp attr)
|
||||
(string-match "\\<hfmt=\\(\\S-+\\)" attr)
|
||||
(match-string 1 attr))
|
||||
floatp (or caption label (string= "table*" tblenv))
|
||||
placement (if (and attr
|
||||
(stringp attr)
|
||||
@ -2084,6 +2087,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||
:tend ,org-export-latex-tables-tend
|
||||
:hline ,org-export-latex-tables-hline
|
||||
:skipheadrule ,longtblp
|
||||
:hfmt ,hfmt
|
||||
:hlend ,(if longtblp
|
||||
(format "\\\\
|
||||
%s
|
||||
|
Loading…
Reference in New Issue
Block a user