ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* text in mathematics
@ 2018-07-07 14:04 Alan Braslau
  2018-07-07 16:25 ` Hans Åberg
  2018-07-08 19:21 ` Wolfgang Schuster
  0 siblings, 2 replies; 11+ messages in thread
From: Alan Braslau @ 2018-07-07 14:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello ConTeXt users,

Does it drive you crazy to see TeX users write $t = time$?
(I see this all of the time by LaTeX users in Beamer presentations.)

One can do better writing $t = {\rm time}$ (maybe)
or in ConTeXt $t = \mathrm{time}$.
Sometimes, too, I might write $t = \text{time}$.

We also have the commands \mathematics{} that can be used in place of
the TeX shorthand $...$, and this also has the shortcut \m{...}.

I thought that it might be useful to have an equivalent escape, to be
used as $t = \t{time}$. What do other users think?

OK, \m{t = \t{time}} might be a bit funky... 


Alan


P.S. I proposed doing this via
    \let\t\mathrm
but Hans tells me that this is not good, as \mathrm{} does not give
proper font processing, so implementation of \t{} would be something
different...
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-07 14:04 text in mathematics Alan Braslau
@ 2018-07-07 16:25 ` Hans Åberg
  2018-07-08 19:21 ` Wolfgang Schuster
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Åberg @ 2018-07-07 16:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 7 Jul 2018, at 16:04, Alan Braslau <braslau.list@comcast.net> wrote:

> Does it drive you crazy to see TeX users write $t = time$?
> (I see this all of the time by LaTeX users in Beamer presentations.)
> 
> One can do better writing $t = {\rm time}$ (maybe)
> or in ConTeXt $t = \mathrm{time}$.
> Sometimes, too, I might write $t = \text{time}$.

The last would be easiest to remember when using it less often. Strictly, it is different, because it could mean italics, as may be used in formulas. The upright letters are called normal here:
  https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols

> We also have the commands \mathematics{} that can be used in place of
> the TeX shorthand $...$, and this also has the shortcut \m{...}.
> 
> I thought that it might be useful to have an equivalent escape, to be
> used as $t = \t{time}$. What do other users think?
> 
> OK, \m{t = \t{time}} might be a bit funky... 

If one is using italics for text in math formulas, that would be logical.


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-07 14:04 text in mathematics Alan Braslau
  2018-07-07 16:25 ` Hans Åberg
@ 2018-07-08 19:21 ` Wolfgang Schuster
  2018-07-08 21:00   ` Otared Kavian
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2018-07-08 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1907 bytes --]

Hi Alan,

1. The correct way to use \mathrm is {\mathrm ...} because it is a 
switch like \rm for text mode.

2. \mathrm is the wrong method to write text in formulas because the 
command changes only the math alphabet. This means no ligatures, kerning 
or other characters like umlauts.

3. The correct way to write text in math mode is \mathtext (which has 
the synonym \text) or \mathword. To change the style of the text you can 
use \mathtext{\it …} or \mathtextit{…}.

Wolfgang
> Alan Braslau <mailto:braslau.list@comcast.net>
> 7. Juli 2018 um 16:04
> Hello ConTeXt users,
>
> Does it drive you crazy to see TeX users write $t = time$?
> (I see this all of the time by LaTeX users in Beamer presentations.)
>
> One can do better writing $t = {\rm time}$ (maybe)
> or in ConTeXt $t = \mathrm{time}$.
> Sometimes, too, I might write $t = \text{time}$.
>
> We also have the commands \mathematics{} that can be used in place of
> the TeX shorthand $...$, and this also has the shortcut \m{...}.
>
> I thought that it might be useful to have an equivalent escape, to be
> used as $t = \t{time}$. What do other users think?
>
> OK, \m{t = \t{time}} might be a bit funky...
>
>
> Alan
>
>
> P.S. I proposed doing this via
> \let\t\mathrm
> but Hans tells me that this is not good, as \mathrm{} does not give
> proper font processing, so implementation of \t{} would be something
> different...
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3454 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-08 19:21 ` Wolfgang Schuster
@ 2018-07-08 21:00   ` Otared Kavian
  2018-07-08 21:11     ` Alan Braslau
  2018-07-09 12:51     ` Hans Åberg
  0 siblings, 2 replies; 11+ messages in thread
From: Otared Kavian @ 2018-07-08 21:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3690 bytes --]

Hi Alan, Wolfgang and Hans Åberg,

As far as I am concerned, when I have to add a text to a math formula I use \mbox, as in the example

\startformula
A := \left\{f : {\Bbb R}^2 \longrightarrow {\Bbb R} \; ; \; f \mbox{ is measurable and }  \int_{{\Bbb R}^2}|f(x)|dx < \infty \right\}.
\stopformula

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.

I don't think it would be a good idea to add new commands to treat text in a math formula: the existing possiblities are more than satisfactory, and moreover situations where one has to add text to a formula are not that common. So using a command like \mbox, or \text, or \mathtext, or whatever, is not that time consuming.

Best regards: OK


> On 8 Jul 2018, at 21:21, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
> Hi Alan,
> 
> 1. The correct way to use \mathrm is {\mathrm ...} because it is a switch like \rm for text mode.
> 
> 2. \mathrm is the wrong method to write text in formulas because the command changes only the math alphabet. This means no ligatures, kerning or other characters like umlauts.
> 
> 3. The correct way to write text in math mode is \mathtext (which has the synonym \text) or \mathword. To change the style of the text you can use \mathtext{\it …} or \mathtextit{…}.
> 
> Wolfgang
>> Alan Braslau <mailto:braslau.list@comcast.net> 7. Juli 2018 um 16:04
>> Hello ConTeXt users,
>> 
>> Does it drive you crazy to see TeX users write $t = time$?
>> (I see this all of the time by LaTeX users in Beamer presentations.)
>> 
>> One can do better writing $t = {\rm time}$ (maybe)
>> or in ConTeXt $t = \mathrm{time}$.
>> Sometimes, too, I might write $t = \text{time}$.
>> 
>> We also have the commands \mathematics{} that can be used in place of
>> the TeX shorthand $...$, and this also has the shortcut \m{...}.
>> 
>> I thought that it might be useful to have an equivalent escape, to be
>> used as $t = \t{time}$. What do other users think?
>> 
>> OK, \m{t = \t{time}} might be a bit funky... 
>> 
>> 
>> Alan
>> 
>> 
>> P.S. I proposed doing this via
>> \let\t\mathrm
>> but Hans tells me that this is not good, as \mathrm{} does not give
>> proper font processing, so implementation of \t{} would be something
>> different...
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki : http://contextgarden.net <http://contextgarden.net/>
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 6604 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-08 21:00   ` Otared Kavian
@ 2018-07-08 21:11     ` Alan Braslau
  2018-07-09  9:39       ` Wolfgang Schuster
  2018-07-09 12:51     ` Hans Åberg
  1 sibling, 1 reply; 11+ messages in thread
From: Alan Braslau @ 2018-07-08 21:11 UTC (permalink / raw)
  To: Otared Kavian; +Cc: mailing list for ConTeXt users

In many "less-rigorous" uses of equations, there is an abundant need
to include words (text) in mathematics, and using \mathtext{} or \mbox{}
or whatever is unwieldy.

Readable subscripts, self-explanatory variable names, etc. might be
text and not symbols. These situations can be very common. This is why I
asked (1) what is the right method, and (2) what do others think about
the shorthand \t{}, similar to the shorthand \m{}?

Alan


On Sun, 8 Jul 2018 23:00:00 +0200
Otared Kavian <otared@gmail.com> wrote:

> Hi Alan, Wolfgang and Hans Åberg,
> 
> As far as I am concerned, when I have to add a text to a math formula
> I use \mbox, as in the example
> 
> \startformula
> A := \left\{f : {\Bbb R}^2 \longrightarrow {\Bbb R} \; ; \; f
> \mbox{ is measurable and }  \int_{{\Bbb R}^2}|f(x)|dx < \infty
> \right\}. \stopformula
> 
> 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.
> 
> I don't think it would be a good idea to add new commands to treat
> text in a math formula: the existing possiblities are more than
> satisfactory, and moreover situations where one has to add text to a
> formula are not that common. So using a command like \mbox, or \text,
> or \mathtext, or whatever, is not that time consuming.
> 
> Best regards: OK
> 
> 
> > On 8 Jul 2018, at 21:21, Wolfgang Schuster
> > <schuster.wolfgang@gmail.com> wrote:
> > 
> > Hi Alan,
> > 
> > 1. The correct way to use \mathrm is {\mathrm ...} because it is a
> > switch like \rm for text mode.
> > 
> > 2. \mathrm is the wrong method to write text in formulas because
> > the command changes only the math alphabet. This means no
> > ligatures, kerning or other characters like umlauts.
> > 
> > 3. The correct way to write text in math mode is \mathtext (which
> > has the synonym \text) or \mathword. To change the style of the
> > text you can use \mathtext{\it …} or \mathtextit{…}.
> > 
> > Wolfgang  
> >> Alan Braslau <mailto:braslau.list@comcast.net> 7. Juli 2018 um
> >> 16:04 Hello ConTeXt users,
> >> 
> >> Does it drive you crazy to see TeX users write $t = time$?
> >> (I see this all of the time by LaTeX users in Beamer
> >> presentations.)
> >> 
> >> One can do better writing $t = {\rm time}$ (maybe)
> >> or in ConTeXt $t = \mathrm{time}$.
> >> Sometimes, too, I might write $t = \text{time}$.
> >> 
> >> We also have the commands \mathematics{} that can be used in place
> >> of the TeX shorthand $...$, and this also has the shortcut \m{...}.
> >> 
> >> I thought that it might be useful to have an equivalent escape, to
> >> be used as $t = \t{time}$. What do other users think?
> >> 
> >> OK, \m{t = \t{time}} might be a bit funky... 
> >> 
> >> 
> >> Alan
> >> 
> >> 
> >> P.S. I proposed doing this via
> >> \let\t\mathrm
> >> but Hans tells me that this is not good, as \mathrm{} does not give
> >> proper font processing, so implementation of \t{} would be
> >> something different...
> >> ___________________________________________________________________________________
> >> If your question is of interest to others as well, please add an
> >> entry to the Wiki!
> >> 
> >> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> /
> >> http://www.ntg.nl/mailman/listinfo/ntg-context
> >> <http://www.ntg.nl/mailman/listinfo/ntg-context> webpage :
> >> http://www.pragma-ade.nl <http://www.pragma-ade.nl/> /
> >> http://context.aanhet.net <http://context.aanhet.net/> archive :
> >> https://bitbucket.org/phg/context-mirror/commits/
> >> <https://bitbucket.org/phg/context-mirror/commits/> wiki :
> >> http://contextgarden.net <http://contextgarden.net/>
> >> ___________________________________________________________________________________  
> > 
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________  
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-08 21:11     ` Alan Braslau
@ 2018-07-09  9:39       ` Wolfgang Schuster
  2018-07-09 13:05         ` Hans Hagen
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2018-07-09  9:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian


[-- Attachment #1.1: Type: text/plain, Size: 1240 bytes --]

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 <mailto:braslau.list@comcast.net>
> 8. Juli 2018 um 23:11
> In many "less-rigorous" uses of equations, there is an abundant need
> to include words (text) in mathematics, and using \mathtext{} or \mbox{}
> or whatever is unwieldy.
>
> Readable subscripts, self-explanatory variable names, etc. might be
> text and not symbols. These situations can be very common. This is why I
> asked (1) what is the right method, and (2) what do others think about
> the shorthand \t{}, similar to the shorthand \m{}?
>
> Alan
>
>
> On Sun, 8 Jul 2018 23:00:00 +0200
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2774 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-08 21:00   ` Otared Kavian
  2018-07-08 21:11     ` Alan Braslau
@ 2018-07-09 12:51     ` Hans Åberg
  2018-07-09 15:48       ` Aditya Mahajan
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Åberg @ 2018-07-09 12:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 8 Jul 2018, at 23:00, Otared Kavian <otared@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.


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-09  9:39       ` Wolfgang Schuster
@ 2018-07-09 13:05         ` Hans Hagen
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2018-07-09 13:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster; +Cc: Otared Kavian

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 \unexpanded\def\w{\mathortext\word\mathword} \fi

\appendtoks
     \let\t\mathtext
     \let\w\mathword
\to \everymathematics

because sometimes a \t or \w is part of an expansion so we need it to be 
defined then (for instance, Alan loves to put lots of complex math in 
textext)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-09 12:51     ` Hans Åberg
@ 2018-07-09 15:48       ` Aditya Mahajan
  2018-07-09 19:27         ` Hans Åberg
  0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2018-07-09 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

On Mon, 9 Jul 2018, Hans Åberg wrote:

>
>> On 8 Jul 2018, at 23:00, Otared Kavian <otared@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.

Aditya

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-09 15:48       ` Aditya Mahajan
@ 2018-07-09 19:27         ` Hans Åberg
  2018-07-10 15:53           ` Hans Åberg
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Åberg @ 2018-07-09 19:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 9 Jul 2018, at 17:48, Aditya Mahajan <adityam@umich.edu> wrote:
> 
> On Mon, 9 Jul 2018, Hans Åberg wrote:
> 
>> On 8 Jul 2018, at 23:00, Otared Kavian <otared@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.


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: text in mathematics
  2018-07-09 19:27         ` Hans Åberg
@ 2018-07-10 15:53           ` Hans Åberg
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Åberg @ 2018-07-10 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 9 Jul 2018, at 21:27, Hans Åberg <haberg-1@telia.com> wrote:
> 
>> On 9 Jul 2018, at 17:48, Aditya Mahajan <adityam@umich.edu> wrote:
>> 
>> On Mon, 9 Jul 2018, Hans Åberg wrote:
>> 
>>> On 8 Jul 2018, at 23:00, Otared Kavian <otared@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-07-10 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-07 14:04 text in mathematics Alan Braslau
2018-07-07 16:25 ` Hans Åberg
2018-07-08 19:21 ` Wolfgang Schuster
2018-07-08 21:00   ` Otared Kavian
2018-07-08 21:11     ` Alan Braslau
2018-07-09  9:39       ` Wolfgang Schuster
2018-07-09 13:05         ` Hans Hagen
2018-07-09 12:51     ` Hans Åberg
2018-07-09 15:48       ` Aditya Mahajan
2018-07-09 19:27         ` Hans Åberg
2018-07-10 15:53           ` Hans Åberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).