> On 9 Jul 2018, at 21:27, Hans Åberg <haber...@telia.com> wrote: > >> On 9 Jul 2018, at 17:48, Aditya Mahajan <adit...@umich.edu> wrote: >> >> On Mon, 9 Jul 2018, Hans Åberg wrote: >> >>> On 8 Jul 2018, at 23:00, Otared Kavian <ota...@gmail.com> 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 inheriting the style of the text appears in two >>> books from first published in 1966 and 1980 that I checked. >>> >>> So a math text command should probably support that style. >> >> IIRC, that is also the case for the \text command in amsmath. > > There might be two commands, one that inherits the text environment style, > and one that keeps it in normal.
Also math and code (verbatim) might appear nested in Hoare logic and such. ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________