mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-03 08:30:03 +00:00
org-e-latex: Add sidewaystable option for tables
* EXPERIMENTAL/org-e-latex.el (org-e-latex-table--format-string): Add sidewaystable option for tables.
This commit is contained in:
parent
dd7aa8ece9
commit
d6ab0f534b
@ -1839,9 +1839,12 @@ table."
|
||||
((string-match "\\<tabular.?\\>" attr)
|
||||
(org-match-string-no-properties 0 attr))
|
||||
(t org-e-latex-default-table-environment)))
|
||||
;; If table is a float, determine environment: table or table*.
|
||||
;; If table is a float, determine environment: table, table*
|
||||
;; or sidewaystable.
|
||||
(float-env (cond
|
||||
((string= "longtable" table-env) nil)
|
||||
((and attr (string-match "\\<sidewaystable\\>" attr))
|
||||
"sidewaystables")
|
||||
((and attr
|
||||
(or (string-match (regexp-quote "table*") attr)
|
||||
(string-match "\\<multicolumn\\>" attr)))
|
||||
|
Loading…
Reference in New Issue
Block a user