ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math: size of sqrt to small for fractions
@ 2013-04-09 19:02 Xenia
  2013-04-09 19:18 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Xenia @ 2013-04-09 19:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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.

Thanks,
Xenia

[-- Attachment #2: sqrt.log --]
[-- Type: text/x-log, Size: 7876 bytes --]

(/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2013.03.24 15:11 MKIV  fmt: 2013.3.24  int: english/english

system          > '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'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
(sqrt.tex{/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts           > preloading latin modern fonts (second stage)
fonts           > typescripts > unknown library 'loc'
{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
fonts           > 'fallback modern rm 12pt' is loaded
backend         > xmp > using file '/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
 ) )</home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf></home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf></home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>

system          > files > start used files

used files      >    1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used files      >    2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used files      >    3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used files      >    4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used files      >    5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used files      >    6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used files      >    7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used files      >    8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used files      >    9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used files      >   10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used files      >   11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files      >   12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used files      >   13: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > structure > start used structure

used structure  > text: sqrt

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file       >    2: filename=cont-new.mkiv filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file       >    3: filename=lang-us.lua filetype=lua foundname=/home/maja/context/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file       >    4: filename=sqrt.tex foundname=sqrt.tex usedmethod=direct
used file       >    5: filename=mkiv-base.map filetype=map format=map foundname=/home/maja/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map usedmethod=database
used file       >    6: filename=lm.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file       >    7: filename=lm-math.lfg filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/fonts/lm-math.lfg usedmethod=database
used file       >    8: filename=lm-math.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-math.map usedmethod=database
used file       >    9: filename=lm-rm.map filetype=map format=map foundname=/home/maja/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map usedmethod=database
used file       >   10: filename=lmroman12-regular filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file       >   11: filename=latinmodern-math.otf filetype=opentypefonts foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >   12: filename=latinmodern-math.otf filetype=otf format=otf foundname=/home/maja/context/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >   13: filename=lpdf-pdx.xml filetype=tex foundname=/home/maja/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="3"
used option     > fulljobname="./sqrt.tex"
used option     > input="./sqrt.tex"
used option     > kindofrun="2"
used option     > maxnofruns="8"
used option     > no-parse-first-line="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./sqrt.tex

system          > options > stop commandline files


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /home/maja/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.015 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 13 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 323 modules (0.220 sec), 69 tables (0.000 sec), 392 chunks (0.220 sec)
mkiv lua stats  > cleaned up reserved nodes: 41 nodes, 9 lists of 441
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list
mkiv lua stats  > node list callback tasks: 6 unique task lists, 6 instances (re)created, 41 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns: en::2
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 148 direct, 180 indirect, 328 total
mkiv lua stats  > randomizer: resumed with value 0.066525963166042
mkiv lua stats  > lxml preparation time: 0.000 seconds, 0 nodes, 15 lpath calls, 0 cached calls
mkiv lua stats  > result saved in file: sqrt.pdf, compresslevel 3, objectcompreslevel 3
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf lmroman12-regular.otf
mkiv lua stats  > fonts load time: 0.249 seconds 
mkiv lua stats  > luatex banner: this is luatex, version beta-0.75.0-2013031411  (tex live 2013/dev)(rev 4589)
mkiv lua stats  > control sequences: 36706 of 65536 + 100000
mkiv lua stats  > current memory usage: 26 MB (ctx: 26 MB)
mkiv lua stats  > runtime: 0.831 seconds, 1 processed pages, 1 shipped pages, 1.203 pages/second


[-- Attachment #3: sqrt.pdf --]
[-- Type: application/pdf, Size: 7764 bytes --]

[-- Attachment #4: sqrt.tex --]
[-- Type: text/x-tex, Size: 71 bytes --]

\starttext
\startformula
a = \sqrt{\frac{b}{c}}
\stopformula
\stoptext

[-- Attachment #5: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: math: size of sqrt to small for fractions
  2013-04-09 19:02 math: size of sqrt to small for fractions Xenia
@ 2013-04-09 19:18 ` Hans Hagen
  2013-04-09 19:25   ` Xenia
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2013-04-09 19:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 19:18 ` Hans Hagen
@ 2013-04-09 19:25   ` Xenia
  2013-04-09 19:46     ` Hans Hagen
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Xenia @ 2013-04-09 19:25 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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, all variables should have the
same size here (a,b and c).

Xenia
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 19:25   ` Xenia
@ 2013-04-09 19:46     ` Hans Hagen
  2013-04-09 20:39     ` Alan BRASLAU
  2013-04-09 22:42     ` Hans Hagen
  2 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2013-04-09 19:46 UTC (permalink / raw)
  To: Xenia; +Cc: mailing list for ConTeXt users

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 didn't know that. For my feelings, all variables should have the
> same size here (a,b and c).

ah, you mean the symbols; i'll check it ... probably a wrong default

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 19:25   ` Xenia
  2013-04-09 19:46     ` Hans Hagen
@ 2013-04-09 20:39     ` Alan BRASLAU
  2013-04-09 21:09       ` Xenia
                         ` (2 more replies)
  2013-04-09 22:42     ` Hans Hagen
  2 siblings, 3 replies; 9+ messages in thread
From: Alan BRASLAU @ 2013-04-09 20:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On Tue, 9 Apr 2013 21:25:16 +0200
Xenia <yoraxe@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
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 20:39     ` Alan BRASLAU
@ 2013-04-09 21:09       ` Xenia
  2013-04-09 22:44       ` Hans Hagen
  2013-04-09 22:54       ` Khaled Hosny
  2 siblings, 0 replies; 9+ messages in thread
From: Xenia @ 2013-04-09 21:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 09.04.2013 22:39, Alan BRASLAU wrote:
> On Tue, 9 Apr 2013 21:25:16 +0200
> Xenia <yoraxe@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 a minimal example. I am handling much bigger
fractions.

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 19:25   ` Xenia
  2013-04-09 19:46     ` Hans Hagen
  2013-04-09 20:39     ` Alan BRASLAU
@ 2013-04-09 22:42     ` Hans Hagen
  2 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2013-04-09 22:42 UTC (permalink / raw)
  To: Xenia; +Cc: mailing list for ConTeXt users

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 didn't know that. For my feelings, all variables should have the
> same size here (a,b and c).

Hopefully ok now ... I also made the mathstyle more conformant the new 
math style mechanism and added coloring of the fraction rule.

\definemathfraction[innerfrac][frac][alternative=inner,mathstyle=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} = \innerfrac{a}{b} = \frac{a}{b}
     \stopformula

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 20:39     ` Alan BRASLAU
  2013-04-09 21:09       ` Xenia
@ 2013-04-09 22:44       ` Hans Hagen
  2013-04-09 22:54       ` Khaled Hosny
  2 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2013-04-09 22:44 UTC (permalink / raw)
  To: Alan BRASLAU; +Cc: mailing list for ConTeXt users

On 4/9/2013 10:39 PM, Alan BRASLAU wrote:
> On Tue, 9 Apr 2013 21:25:16 +0200
> Xenia <yoraxe@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 in displaymode (fractions are being made 
configurable like fences and arrows and such) ...

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: math: size of sqrt to small for fractions
  2013-04-09 20:39     ` Alan BRASLAU
  2013-04-09 21:09       ` Xenia
  2013-04-09 22:44       ` Hans Hagen
@ 2013-04-09 22:54       ` Khaled Hosny
  2 siblings, 0 replies; 9+ messages in thread
From: Khaled Hosny @ 2013-04-09 22:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

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

On Tue, Apr 09, 2013 at 10:39:25PM +0200, Alan BRASLAU wrote:
> On Tue, 9 Apr 2013 21:25:16 +0200
> Xenia <yoraxe@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}

Unless \startformula \stopformula are set in \textstyle, fractions
should not be set that small, not in the default TeX settings.

Regards,
Khaled

[-- Attachment #2: sqrt.tex --]
[-- Type: text/x-tex, Size: 64 bytes --]

$$a = \sqrt{b\over c}$$
\centerline{$a = \sqrt{b\over c}$}
\bye

[-- Attachment #3: sqrt.pdf --]
[-- Type: application/pdf, Size: 30650 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2013-04-09 22:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-09 19:02 math: size of sqrt to small for fractions Xenia
2013-04-09 19:18 ` Hans Hagen
2013-04-09 19:25   ` Xenia
2013-04-09 19:46     ` Hans Hagen
2013-04-09 20:39     ` Alan BRASLAU
2013-04-09 21:09       ` Xenia
2013-04-09 22:44       ` Hans Hagen
2013-04-09 22:54       ` Khaled Hosny
2013-04-09 22:42     ` Hans Hagen

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).