From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: latex-export custom header? Date: Tue, 12 Jun 2012 20:39:47 +0200 Message-ID: <80zk88s7bg.fsf@somewhere.org> References: <20120612175622.22c45bdb@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Renato, renato wrote: > Hi, I'm really enjoying the org-mode + cdlatex combo. One question > though, how can I customize the latex header produced by > org-export-as-latex ? I really need to add some \newcommand and > \newtheorem statements. A quick answer. Many, in fact. Common solutions are: - put your extra stuff in an external .org file, and insert it wherever you want via SETUPFILE - make a new LaTeX class file, and customize Org (`org-export-latex-classes') to use that one, instead of the default one. Best regards, Seb -- Sebastien Vauban