On a per file basis, you can add extra lines to your LaTeX export
header by using "#+LATEX_HEADER: ".

(See: http://orgmode.org/org.html#Export-options)

To get your custom commands also to work with the preview of LaTeX
fragments, you may customise the "org-format-latex-header" variable.

Actually I don't know if there is a way to add something to
"org-format-latex-header" on a per-file basis... Is there?

Cheers,
Manuel

2012/6/12 renato <renn...@gmail.com>:
> 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.
>
> best wishes,
> renato
>

Reply via email to