On Sunday, 13 Dec 2020 at 02:30, Firmin Martin wrote:
> Sometimes, we want to nest inline maths expression in \textrm to
> handle spaces easily and avoid repetition.
>
> Examples:
>
> 1. $A = \{n : \textrm{$n$ odd in $X$}\}$
I think you may be expecting too much of org's simple inline LaTeX
parser. As soon as you have complex LaTeX, it's best to be explicit
about it being LaTeX, e.g.:
1. @@latex:$A = \{n : \textrm{$n$ odd in $X$}\}$@@
HTH,
eric
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-160-g7c8dce