forked from mirrors/org-mode
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)
|
((string-match "\\<tabular.?\\>" attr)
|
||||||
(org-match-string-no-properties 0 attr))
|
(org-match-string-no-properties 0 attr))
|
||||||
(t org-e-latex-default-table-environment)))
|
(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
|
(float-env (cond
|
||||||
((string= "longtable" table-env) nil)
|
((string= "longtable" table-env) nil)
|
||||||
|
((and attr (string-match "\\<sidewaystable\\>" attr))
|
||||||
|
"sidewaystables")
|
||||||
((and attr
|
((and attr
|
||||||
(or (string-match (regexp-quote "table*") attr)
|
(or (string-match (regexp-quote "table*") attr)
|
||||||
(string-match "\\<multicolumn\\>" attr)))
|
(string-match "\\<multicolumn\\>" attr)))
|
||||||
|
|
Loading…
Reference in New Issue