Re: [NTG-context] \text{...} inside \sqrt is tiny

2022-10-13 Thread Hans Hagen via ntg-context
On 10/13/2022 2:38 PM, Gavin via ntg-context wrote: Hi List, When I use text inside a radical, the text is script-script size. $\text{Radius} = \sqrt{\text{Area}/\pi}$ It should be normal size. Any ideas for a fix? I stumbled on this issue when working with \units, but it is not specific

[NTG-context] \text{...} inside \sqrt is tiny

2022-10-13 Thread Gavin via ntg-context
Hi List, When I use text inside a radical, the text is script-script size. $\text{Radius} = \sqrt{\text{Area}/\pi}$ It should be normal size. Any ideas for a fix? I stumbled on this issue when working with \units, but it is not specific to units. Thanks! Gavin

[NTG-context] sqrt does not align properly

2021-05-05 Thread Benny Schurig
Peak of the root ends at baseline, but only in some cases: \starttext   $\sqrt{2}$ \qquad $\sqrt{a^2+b^2}$ \qquad $\sqrt{a^2-b^2}$ \stoptext In this example only \sqrt{a^2+b^2} works as expected [ConTeXt  ver: 2021.04.29 23:09 LMTX  fmt: 2021.5.4] Typesetting in ConTeXt live is correct

Re: [NTG-context] Numbers inside \sqrt are small

2020-06-07 Thread Hans Hagen
On 6/6/2020 5:45 PM, Otared Kavian wrote: Hi Mikael, Thanks to your message I discovered that in all my recent documents typeset with lmtx the \sqrt has a bug… Indeed the argument under the square root is too small. (The version I have right now is 2020.05.25 23:39, after running sh

Re: [NTG-context] Numbers inside \sqrt are small

2020-06-06 Thread Otared Kavian
Hi Mikael, Thanks to your message I discovered that in all my recent documents typeset with lmtx the \sqrt has a bug… Indeed the argument under the square root is too small. (The version I have right now is 2020.05.25 23:39, after running sh install.sh). It may be that it is related

[NTG-context] Numbers inside \sqrt are small

2020-06-02 Thread Mikael Sundqvist
Hi, \starttext $2+\sqrt{2}$ \stoptext The output is attached. This happened with a release that are a bit old, as well as with the most recent upgrade. LMTX. /Mikael sqrt.pdf Description: Adobe PDF document

Re: [NTG-context] Placing number in \sqrt

2020-05-04 Thread Aditya Mahajan
On Mon, 4 May 2020, cont...@vivaldi.net wrote: Hello Aditya, On 2020-05-04 10:42, Aditya Mahajan wrote: On Mon, 4 May 2020, Hans Hagen wrote: On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote: Hello, compare placing "3" in the following examples: \starttext   $\sqrt[3

Re: [NTG-context] Placing number in \sqrt

2020-05-04 Thread context
Hello Aditya, On 2020-05-04 10:42, Aditya Mahajan wrote: On Mon, 4 May 2020, Hans Hagen wrote: On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote: Hello, compare placing "3" in the following examples: \starttext   $\sqrt[3]{5}$ % (1)   \par   $\sqrt[3~]{5}$ % (2)

Re: [NTG-context] Placing number in \sqrt

2020-05-04 Thread context
Hello Hans, On 2020-05-04 09:31, Hans Hagen wrote: On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote: Hello, compare placing "3" in the following examples: \starttext   $\sqrt[3]{5}$ % (1)   \par   $\sqrt[3~]{5}$ % (2) \stoptext In the first case, the "3"

[NTG-context] Placing number in \sqrt

2020-05-04 Thread context
Hello, compare placing "3" in the following examples: \starttext $\sqrt[3]{5}$ % (1) \par $\sqrt[3~]{5}$ % (2) \stoptext In the first case, the "3" is placed naturally by ConTeXt and placed more in the centre of "V" part of the square sign.

Re: [NTG-context] Placing number in \sqrt

2020-05-04 Thread Aditya Mahajan
On Mon, 4 May 2020, Hans Hagen wrote: On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote: Hello, compare placing "3" in the following examples: \starttext   $\sqrt[3]{5}$ % (1)   \par   $\sqrt[3~]{5}$ % (2) \stoptext In the first case, the "3" is placed

Re: [NTG-context] Placing number in \sqrt

2020-05-04 Thread Hans Hagen
On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote: Hello, compare placing "3" in the following examples: \starttext   $\sqrt[3]{5}$ % (1)   \par   $\sqrt[3~]{5}$ % (2) \stoptext In the first case, the "3" is placed naturally by ConTeXt and placed more in th

Re: [NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Fabrice Couvreur
Hi Michael, Thanks, it's ok. Fabrice 2017-02-02 22:02 GMT+01:00 Rogers, Michael K <mrog...@emory.edu>: > This seems to work in place of 0.866cm: sqrt(3)/2*cm > > Michael > > On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > >

Re: [NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Rogers, Michael K
This seems to work in place of 0.866cm: sqrt(3)/2*cm Michael On Feb 2, 2017, at 3:54 PM, Fabrice Couvreur <fabrice1.couvr...@gmail.com<mailto:fabrice1.couvr...@gmail.com>> wrote: Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an appro

[NTG-context] sqrt(3)/2 with metafun

2017-02-02 Thread Fabrice Couvreur
Hello, I wanted to use sqrt(3)/2 but without success. Instead, I replaced this value with an approximate value 0.866 How should it be done ? Thank you Fabrice \starttext \startMPcode draw fullcircle scaled 1cm withcolor magenta ; draw fullcircle scaled 1cm shifted (1cm,0) withcolor

Re: [NTG-context] frac and tfrac with sqrt

2014-10-09 Thread Keith J. Schultz
Am 07.10.2014 um 09:20 schrieb Hans Hagen pra...@wxs.nl: On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote: On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next

Re: [NTG-context] frac and tfrac with sqrt

2014-10-07 Thread Hans Hagen
On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote: On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next beta? :) no, but there will be different settings ... the

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Mikael P. Sundqvist
On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from the corresponding latex document, having

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Aditya Mahajan
On Mon, 6 Oct 2014, Mikael P. Sundqvist wrote: On Fri, Oct 3, 2014 at 1:30 PM, Mikael P. Sundqvist mic...@gmail.com wrote: Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from

Re: [NTG-context] frac and tfrac with sqrt

2014-10-06 Thread Mikael P. Sundqvist
On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next beta? :) Best regards, Mikael ___ If

[NTG-context] frac and tfrac with sqrt

2014-10-03 Thread Mikael P. Sundqvist
Hi! Is this (see frac.pdf) the expected output of \frac and \tfrac in combination with \sqrt? To me the \sqrt{3} looks too big in \tfrac. I attach also the output from the corresponding latex document, having the result I expect. Best regards, Mikael PS Compilation done with latest standalone

Re: [NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-24 Thread Hans Hagen
On 4/22/2014 1:53 AM, Sanjoy Mahajan wrote: I have been trying out the newish \setupmathradical[sqrt][alternative=mp], which has been very nice because of the fine control over the radical sign. I've noticed that it crunches the denominator in \sqrt{a\over b} For example: \starttext

Re: [NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-24 Thread Sanjoy Mahajan
Hans Hagen pra...@wxs.nl writes: indeed. this is what (sort of) happens in case of a plugged in renderer: \sqrt{#1} - ...\mathstylehbox{#1}... - ...\hbox{\stylecommand #1}... when #a = a \over b the style gets applied to the a only as \over creates two (pseudo) groups i.e. the \over

[NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-21 Thread Sanjoy Mahajan
I have been trying out the newish \setupmathradical[sqrt][alternative=mp], which has been very nice because of the fine control over the radical sign. I've noticed that it crunches the denominator in \sqrt{a\over b} For example: \starttext \placeformula\startformula \sqrt{k\over m}\quad \sqrt

[NTG-context] \sqrt[a]{b} with a more than one digit

2013-09-23 Thread Xan
Hi, \sqrt[12]{a^{11}} produces me: \sqrt[1]{2} a^{11} What happens there? Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] \sqrt[a]{b} with a more than one digit

2013-09-23 Thread Alan Bowen
Try braces about the “12” as in \sqrt{12}{a^{11}} Alan On Mon, Sep 23, 2013 at 3:55 AM, Xan dxpubl...@telefonica.net wrote: Hi, \sqrt[12]{a^{11}} produces me: \sqrt[1]{2} a^{11} What happens there? Xan

Re: [NTG-context] \sqrt[a]{b} with a more than one digit

2013-09-23 Thread Alan Bowen
Xan—I misunderstood. You are right. The latest beta does not allow numerical roots higher than the 9th. Grouping the digits—as in $\sqrt[{12}]{…}$ does not help. Alan On Mon, Sep 23, 2013 at 8:13 AM, Alan Bowen bowenala...@gmail.com wrote: Try braces about the “12” as in \sqrt{12}{a^{11

Re: [NTG-context] \sqrt[a]{b} with a more than one digit

2013-09-23 Thread Hans Hagen
On 9/23/2013 5:43 PM, Alan Bowen wrote: Xan—I misunderstood. You are right. The latest beta does not allow numerical roots higher than the 9th. Grouping the digits—as in $\sqrt[{12}]{…}$ does not help. will be fixed but uploaded next week

[NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
'cont-new.mkiv' loaded (/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system files jobname 'sqrt', input 'sqrt', result 'sqrt' fontslatin modern fonts are not preloaded languages

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen
On 4/9/2013 9:02 PM, Xenia wrote: Hi list, I noticed that the sign for the square root does not adapt to the size of a fraction as in the attached minimal example. In what sense? Sqrt's grow in discrete steps. Hans -

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 21:18, Hans Hagen wrote: On 4/9/2013 9:02 PM, Xenia wrote: Hi list, I noticed that the sign for the square root does not adapt to the size of a fraction as in the attached minimal example. In what sense? Sqrt's grow in discrete steps. Oh, I didn't know that. For my feelings,

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen
On 4/9/2013 9:25 PM, Xenia wrote: On 09.04.2013 21:18, Hans Hagen wrote: On 4/9/2013 9:02 PM, Xenia wrote: Hi list, I noticed that the sign for the square root does not adapt to the size of a fraction as in the attached minimal example. In what sense? Sqrt's grow in discrete steps. Oh, I

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Alan BRASLAU
On Tue, 9 Apr 2013 21:25:16 +0200 Xenia yor...@googlemail.com wrote: Oh, I didn't know that. For my feelings, all variables should have the same size here (a,b and c). In this case you should probably use: a = \sqrt{b/c} Alan

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
On 09.04.2013 22:39, Alan BRASLAU wrote: On Tue, 9 Apr 2013 21:25:16 +0200 Xenia yor...@googlemail.com wrote: Oh, I didn't know that. For my feelings, all variables should have the same size here (a,b and c). In this case you should probably use: a = \sqrt{b/c} Okay, but this was just

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen
=script,color=red] \definemathfraction[outerfrac][frac][alternative=outer,mathstyle=script,color=blue] \starttext \startformula a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}} a = \frac{b}{c} = \sqrt{\frac{b}{c}} = \sqrt{{b}\over{c}} a = \outerfrac{a}{b

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Hans Hagen
On 4/9/2013 10:39 PM, Alan BRASLAU wrote: On Tue, 9 Apr 2013 21:25:16 +0200 Xenia yor...@googlemail.com wrote: Oh, I didn't know that. For my feelings, all variables should have the same size here (a,b and c). In this case you should probably use: a = \sqrt{b/c} there was a wrong default

Re: [NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Khaled Hosny
On Tue, Apr 09, 2013 at 10:39:25PM +0200, Alan BRASLAU wrote: On Tue, 9 Apr 2013 21:25:16 +0200 Xenia yor...@googlemail.com wrote: Oh, I didn't know that. For my feelings, all variables should have the same size here (a,b and c). In this case you should probably use: a = \sqrt{b/c

Re: [NTG-context] [xits] \sqrt not work properly

2010-09-17 Thread views63
Hi Hongwen Qiu, It was the same others opentype math fonts example: \usetypescript[cambria] \switchtobodyfont[cambria,10pt] \starttext \startformula \sqrt{abcde} \stopformula \stoptext \usetypescript[euler] \switchtobodyfont[euler,10pt] \starttext \startformula \sqrt{abcde} \stopformula

[NTG-context] [xits] \sqrt not work properly

2010-09-13 Thread Hongwen Qiu
The \sqrt is not work properly in Mkiv. The following is the minimal example, and the result is attached \setupbodyfont[xits] \starttext \startformula \sqrt{abcde} \stopformula \stoptext math.pdf Description: Adobe PDF document