Re: [NTG-context] text in mathematics

2018-07-08 Thread Alan Braslau
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.

Re: [NTG-context] text in mathematics

2018-07-08 Thread Otared Kavian
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\}.

Re: [NTG-context] text in mathematics

2018-07-08 Thread Wolfgang Schuster
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

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Alan Braslau
On Sun, 8 Jul 2018 11:21:55 +0200 Hans Hagen wrote: > the "externalfigure" variant is an old one that had to deal with > dimensions in a way that avoids overflows > > in a future context (read luatex 1.09+) we go one-pass-mp so we can > have a different approach (i never wanted to add a ton of

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 11:02 AM, Marco Patzer wrote: On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Marco Patzer
On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: > On 7/8/2018 1:45 AM, Marco Patzer wrote: > > On Sat, 7 Jul 2018 14:27:38 -0600 > > Alan Braslau wrote: > > > >> For "historic" reasons, > >> draw externalfigure "cow" scaled 5cm ; > >> normalizes the figure to a square. This will not

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a square. This will not be changed as it is a very old feature of MetaFun. The solution is draw