From af153cdaa827903e4ada316b99adef25a735ada7 Mon Sep 17 00:00:00 2001 From: Tom Dye Date: Sun, 9 Oct 2011 13:09:02 -1000 Subject: [PATCH 2/2] LaTeX export: Add switch to place captions above or below tables * lisp/org-latex.el (org-export-latex-tables): Add new variable org-export-latex-table-caption-above Modified from an idea suggested by Eric Fraga and fleshed out by Nick Dokos. --- lisp/org-latex.el | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index f91b93e..7957ffe 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -73,7 +73,6 @@ org-deadline-string "\\|" org-closed-string"\\)") "Regexp matching special time planning keywords plus the time after it.") -(defvar org-export-latex-table-caption-above t) (defvar org-re-quote) ; dynamically scoped from org.el (defvar org-commentsp) ; dynamically scoped from org.el @@ -364,6 +363,12 @@ When nil, grouping causes only separation lines between groups." :group 'org-export-latex :type 'boolean) +(defcustom org-export-latex-table-caption-above t + "When non-nil, the caption is set above the table. When nil, +the caption is set below the table." + :group 'org-export-latex + :type 'boolean) + (defcustom org-export-latex-low-levels 'itemize "How to convert sections below the current level of sectioning. This is specified by the `org-export-headline-levels' option or the -- 1.7.1