emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Fold "preamble/options" under first header


From: John Hendy
Subject: [Orgmode] Fold "preamble/options" under first header
Date: Wed, 29 Sep 2010 17:19:14 -0500

Hi,


Is it possible to "fold" the preamble (#+latex_header, #+options, etc.) under a first header? Mine get rather long, especially for Beamer documents.

I just attempted it and it appears to work, but I wanted to know if anyone else has tried this and succeeded or if there are any things to watch out for.

Currently I have:

-------
* Preamble                        :noexport:
#+latex_class: beamer
#+author: John Hendy
#+date: \today
#+startup: beamer
#+options: toc:nil latex:t tex:t
#+latex_class_options: [presentation]
#+beamer_frame_level: 2
#+beamer_header_extra: \usetheme{default}

#+latex_header: \usepackage[usenames,dvipsnames]{xcolor}
#+latex_header: \usepackage{tikz,ifthen}
#+latex_header: \usetikzlibrary{decorations,arrows,automata,positioning}

#+latex_header: \usepackage{setspace}
#+latex_header: \setstretch{1.3}

#+latex_header: \usepackage{MinionPro}
#+latex_header: \renewcommand{\sfdefault{Myriad-LF}}

\AtBeginSection[]{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}}

#+title: Title

* First actual heading...
----------

The output looks fine... are there any foreseeable issues with this?


John

reply via email to

[Prev in Thread] Current Thread [Next in Thread]