Re: [Orgmode] Latex macros

2009-06-25 Thread Sebastian Rose
hello world writes: > Dear Carsten Dominik and Colleagues, > > searching for a scientific note-taking program I have discovered > your fantastic org-mode package. I use latex and usually > code a lot of formulas by having a lot of macros defined, e.g., > > \newcommand{\mgut}{\ensuremath{M_\mathrm{

Re: [Orgmode] Latex macros

2009-06-25 Thread Bastien
Hello Josef, hello world writes: > In this regard, it would be great if one could use a > customized latex preamble (additional usepackage-commands) which > might be needed for the defined macros. Have a look at the variables `org-format-latex-header' and `org-export-latex-packages-alist', it m

Re: [Orgmode] Latex macros

2009-06-25 Thread Mikael Fornius
I use the #+LATEX_HEADER in the beginning lines of my .org-file, like this: #+LATEX_HEADER: \usepackage{amsmath} #+LATEX_HEADER: \newcommand{\cparen}[1]{\left\{ #1 \right\}} -- Mikael Fornius ___ Emacs-orgmode mailing list Remember: use `Reply All'

[Orgmode] Latex macros

2009-06-25 Thread hello world
Dear Carsten Dominik and Colleagues, searching for a scientific note-taking program I have discovered your fantastic org-mode package. I use latex and usually code a lot of formulas by having a lot of macros defined, e.g., \newcommand{\mgut}{\ensuremath{M_\mathrm{GUT}}} Thus, e.g.: "At \mgut\ ga