From 26eb71d6bd2d05d1a2603b32e49d18da2e58dc99 Mon Sep 17 00:00:00 2001 From: Thomas Dye Date: Tue, 11 Sep 2012 15:59:35 -1000 Subject: [PATCH] * contrib/lisp/org-e-latex.el: Added a defcustom for the string inserted after \maketitle --- contrib/lisp/org-e-latex.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index 17bdad9..0a60b56 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -329,6 +329,11 @@ argument." :group 'org-export-e-latex :type 'string) +(defcustom org-e-latex-toc-and-lists-string + "\\tableofcontents\n\\vspace*{1cm}\n\n" + "LaTeX commands to set the table of contents, list of figures, etc." + :group 'org-export-e-latex + :type 'string) ;;;; Headline @@ -1080,7 +1085,7 @@ holding export options." (when depth (concat (when (wholenump depth) (format "\\setcounter{tocdepth}{%d}\n" depth)) - "\\tableofcontents\n\\vspace*{1cm}\n\n"))) + (format "%s" org-e-latex-toc-and-lists-string)))) ;; Document's body. contents ;; Creator. -- 1.7.11.5