From d6ab0f534bae12f959394325703d0f8fa857e9e7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 22 Mar 2012 18:15:54 +0100 Subject: [PATCH] org-e-latex: Add sidewaystable option for tables * EXPERIMENTAL/org-e-latex.el (org-e-latex-table--format-string): Add sidewaystable option for tables. --- EXPERIMENTAL/org-e-latex.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EXPERIMENTAL/org-e-latex.el b/EXPERIMENTAL/org-e-latex.el index 0f52becac..01ba83a7e 100644 --- a/EXPERIMENTAL/org-e-latex.el +++ b/EXPERIMENTAL/org-e-latex.el @@ -1839,9 +1839,12 @@ table." ((string-match "\\" 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 "\\" attr)) + "sidewaystables") ((and attr (or (string-match (regexp-quote "table*") attr) (string-match "\\" attr))) -- 2.11.4.GIT