Re: [NTG-context] math snapping

2014-10-16 Thread Mikael P. Sundqvist
On Wed, Oct 15, 2014 at 1:30 PM, Hans Hagen pra...@wxs.nl wrote:
 Hi,

 new experimental feature in next beta

 \enabletrackers[math.openedup]

 \starttext

 \dorecurse{10}{\dorecurse{#1}{whatever }}

 \startitemize[packed]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize
 \startitemize[packed,columns]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize

 \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }

 \startitemize[packed,columns]
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \stopitemize

 \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{1+2} }

 \startitemize[packed]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize

 \dorecurse{10}{whatever }
 \dorecurse {5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }
 \dorecurse{10}{whatever }

 \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
 ___

I feel a bit stupid, now. What is this supposed to do? I get red and
blue markers that have different thickness. What do they say/do?

Maybe if I don't understand, I will have no reason to (ask), but I got
curious...

/Mikael
___
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
___

Re: [NTG-context] math snapping

2014-10-16 Thread Hans Hagen

On 10/16/2014 1:23 PM, Mikael P. Sundqvist wrote:

On Wed, Oct 15, 2014 at 1:30 PM, Hans Hagen pra...@wxs.nl wrote:

Hi,

new experimental feature in next beta

\enabletrackers[math.openedup]

\starttext

 \dorecurse{10}{\dorecurse{#1}{whatever }}

 \startitemize[packed]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize
 \startitemize[packed,columns]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize

 \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }

 \startitemize[packed,columns]
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \startitem whatever \openedupimath{1+2} whatever
 \stopitemize

 \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{1+2} }

 \startitemize[packed]
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \startitem whatever \openedupimath{\frac{1}{2}} whatever
 \stopitemize

 \dorecurse{10}{whatever }
 \dorecurse {5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }
 \dorecurse{10}{whatever }

\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
___


I feel a bit stupid, now. What is this supposed to do? I get red and
blue markers that have different thickness. What do they say/do?

Maybe if I don't understand, I will have no reason to (ask), but I got
curious...


just compare it with imath and you will see that lines touch .. so it 
adds some space above and below if needed



/Mikael
___
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
___




--

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

Re: [NTG-context] math snapping

2014-10-16 Thread Mikael P. Sundqvist
On Thu, Oct 16, 2014 at 1:33 PM, Hans Hagen pra...@wxs.nl wrote:
 On 10/16/2014 1:23 PM, Mikael P. Sundqvist wrote:

 On Wed, Oct 15, 2014 at 1:30 PM, Hans Hagen pra...@wxs.nl wrote:

 Hi,

 new experimental feature in next beta

 \enabletrackers[math.openedup]

 \starttext

  \dorecurse{10}{\dorecurse{#1}{whatever }}

  \startitemize[packed]
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \stopitemize
  \startitemize[packed,columns]
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \stopitemize

  \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }

  \startitemize[packed,columns]
  \startitem whatever \openedupimath{1+2} whatever
  \startitem whatever \openedupimath{1+2} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{1+2} whatever
  \startitem whatever \openedupimath{1+2} whatever
  \stopitemize

  \dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{1+2} }

  \startitemize[packed]
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \startitem whatever \openedupimath{\frac{1}{2}} whatever
  \stopitemize

  \dorecurse{10}{whatever }
  \dorecurse {5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}}
 }
  \dorecurse{10}{whatever }

 \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

 ___


 I feel a bit stupid, now. What is this supposed to do? I get red and
 blue markers that have different thickness. What do they say/do?

 Maybe if I don't understand, I will have no reason to (ask), but I got
 curious...


 just compare it with imath and you will see that lines touch .. so it adds
 some space above and below if needed

 /Mikael

 ___
 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

 ___



 --

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

OK, nice. So, if I understand it right, it fixes the spacing like in:

 \startitemize[packed]
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever $\frac{1}{2}$ whatever
\startitem whatever $\frac{1}{2}$ whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever

Re: [NTG-context] math snapping

2014-10-16 Thread Hans Hagen

On 10/16/2014 2:03 PM, Mikael P. Sundqvist wrote:

A related question: Is \startimath 1+1 \stopimath and $1+1$ the same?


yes

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

[NTG-context] math snapping

2014-10-15 Thread Hans Hagen

Hi,

new experimental feature in next beta

\enabletrackers[math.openedup]

\starttext

\dorecurse{10}{\dorecurse{#1}{whatever }}

\startitemize[packed]
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\stopitemize
\startitemize[packed,columns]
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\stopitemize

\dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }

\startitemize[packed,columns]
\startitem whatever \openedupimath{1+2} whatever
\startitem whatever \openedupimath{1+2} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{1+2} whatever
\startitem whatever \openedupimath{1+2} whatever
\stopitemize

\dorecurse{5}{\dorecurse{#1}{whatever }\openedupimath{1+2} }

\startitemize[packed]
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\startitem whatever \openedupimath{\frac{1}{2}} whatever
\stopitemize

\dorecurse{10}{whatever }
\dorecurse {5}{\dorecurse{#1}{whatever }\openedupimath{\frac{1}{2}} }
\dorecurse{10}{whatever }

\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
___