emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX


From: Nicolas Goaziou
Subject: Re: Bug: unexpected behavior of nesting braces when exporting to LaTeX
Date: Mon, 23 Aug 2021 11:56:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

Chlo De <shiyue9621@gmail.com> writes:

> I use Org-mode to take notes. I found that when there are nesting braces 
> inside \emph{ }, \textit{ }, etc. the output is unexpected. The following org 
> text
>
> \emph{{n+1}-a}
> \textit{a{b}c}
>
> will be translated as LaTeX expressions
>
> \emph\{\{n+1\}-a\}
> \textit\{a\{b\}c\}
>
> Can this be fixed?

Org only supports a limited part of the LaTeX syntax as raw syntax. This
is not AucTeX mode!

For complex macros (e.g., with nested braces), you need to use dedicated
environments, as pointed out by Jérémie.

Regards,

-- 
Nicolas Goaziou



reply via email to

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