hello list,
I have a separate org file for a rather complicated latex preamble and
then include it when needed. It works well for latex exporting but it
appears that org-create-formula--latex-header just ignores the
latex_header properties in the included org file when previewing latex
fragments.
Is this intended or am I missing anything?
BTW, I find it painful to maintain the latex preamble as the
latex_header properties, say
#+LATEX_HEADER: \newcommand{\mathd}{\mathrm{d}}
#+LATEX_HEADER: \newcommand{\mathbf}[1]{\ensuremath{\boldsymbol{#1}}}
#+LATEX_HEADER: \newcommand{\op}[1]{\ensuremath{\operatorname{#1}}}
I'd like something like this,
#+BEGIN_SRC latex :preamble
\newcommand{\mathd}{\mathrm{d}}
\newcommand{\mathbf}[1]{\ensuremath{\boldsymbol{#1}}}
\newcommand{\op}[1]{\ensuremath{\operatorname{#1}}}
#+END_SRC
Does that make any sense?
Regards.