emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] problem exporting org to latex: sections with math


From: Nicolas Goaziou
Subject: Re: [O] problem exporting org to latex: sections with math
Date: Thu, 26 Oct 2017 11:04:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Uwe Brauer <address@hidden> writes:

> The problem is that my document also contains latex \section commmands.
> These are exported correctly *only* if they don't contain math.
>
> Works
> \section{Adaptive methods using  hopt}
>
> Does not work:
> \section{Adaptive methods using  $h_{\text{op}}$}

IIUC, you write the above directly in the document. Org has very limited
support for raw LaTeX syntax. It can only understand simple macros with
simple arguments -- i.e., no nested arguments.

If you need to write more complicated constructs in the document,
consider using dedicated syntax, e.g.,

  #+latex: \section{Adaptive methods using  $h_{\text{op}}$}

Regards,

-- 
Nicolas Goaziou



reply via email to

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