Re: Bug: LaTeX: inline maths expression in \textrm is not fully supported

2020-12-13 Thread Firmin Martin
> 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$}\}$@@ Thank you for the advice! This does work for LaTeX export, but if one wou

Re: Bug: LaTeX: inline maths expression in \textrm is not fully supported

2020-12-13 Thread Eric S Fraga
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

Bug: LaTeX: inline maths expression in \textrm is not fully supported

2020-12-12 Thread Firmin Martin
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$}\}$ 2. $A = \{n : \textrm{\(n\) odd in \(X\)}\}$ 3. \(A = \{n : \textrm{\(n\) odd in \(X\)}\}\) 4. \(A = \{n : \textrm{$n$ odd in $X$}\}\) ar