Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
> On 9 Jul 2018, at 17:48, Aditya Mahajan wrote: > > On Mon, 9 Jul 2018, Hans Åberg wrote: > >> On 8 Jul 2018, at 23:00, Otared Kavian wrote: >>> The advantage being that if the above formula appears in an environment >>> such as a Theorem (where the text is typeset in italic, or slanted)

Re: [NTG-context] text in mathematics

2018-07-09 Thread Aditya Mahajan
On Mon, 9 Jul 2018, Hans Åberg wrote: On 8 Jul 2018, at 23:00, Otared Kavian wrote: The advantage being that if the above formula appears in an environment such as a Theorem (where the text is typeset in italic, or slanted) the text in the above \mbox will be also in italic or slanted.

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Hagen
On 7/9/2018 11:39 AM, Wolfgang Schuster wrote: Hi Alan, you should at least limit the scope of the command to math mode \appendtoks     \let\t\mathtext     \let\w\mathword \to \everymathematics something \ifdefined\t \else \unexpanded\def\t{\mathortext\text\mathtext} \fi \ifdefined\w \else

Re: [NTG-context] text in mathematics

2018-07-09 Thread Hans Åberg
> On 8 Jul 2018, at 23:00, Otared Kavian wrote: > > The advantage being that if the above formula appears in an environment such > as a Theorem (where the text is typeset in italic, or slanted) the text in > the above \mbox will be also in italic or slanted. Math displayed formula text

Re: [NTG-context] text in mathematics

2018-07-09 Thread Wolfgang Schuster
Hi Alan, you should at least limit the scope of the command to math mode \appendtoks \let\t\mathtext \let\w\mathword \to \everymathematics Wolfgang Alan Braslau 8. Juli 2018 um 23:11 In many "less-rigorous" uses of equations, there is an abundant need