ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Undesirable space with mixedcolumns
@ 2017-10-25 12:32 Fabrice Couvreur
  2017-10-27 10:43 ` Fabrice Couvreur
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2017-10-25 12:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
I notice a space when I use the command \math{\lim\limits_{n \to +\infty}
0,8^n=0} and mixedcolumns.
Thanks.
Fabrice
#####################################################

\definemixedcolumns
  [sectioncolumns]
  [
    n=2,
    separator=rule,
    rulecolor=,
    balance=yes,
  ]

\setupalign[verytolerant,stretch,hanging]

\starttext
On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
nombre de calculatrices vendues se stabiliserait autour de 2 millions.
\blank
\startsectioncolumns
  On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
nombre de calculatrices vendues se stabiliserait autour de 2 millions.
\startsectioncolumns

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 2493 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] 3+ messages in thread

* Re: Undesirable space with mixedcolumns
  2017-10-25 12:32 Undesirable space with mixedcolumns Fabrice Couvreur
@ 2017-10-27 10:43 ` Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2017-10-27 10:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
I'm looking in the documentation and I think I found the key to remove the
white space under the mathematical formula.
Is this the best way to achieve optimal rendering using columns ?
Thank you
Fabrice


\definemixedcolumns
  [Mycolumns]
  [
    n=2,
    separator=rule,
    rulecolor=darkred,
    rulethickness=1pt,
    balance=yes,
    *grid=strut,*
  ]

\setupalign[verytolerant,stretch,hanging]

\starttext
\startMycolumns
On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \math{(u_n)} est
égale à 2\,000. Si l'évolution des utilisateurs se maintient à long terme,
le nombre de calculatrices vendues se stabiliserait autour de 2 millions.

\startformula
           \startmathalignment[n=2,align={right,left}]
             \NC (1+t)^3 \NC = 1,87                \NR
             \NC 1+t     \NC = 1,87^{\frac{1}{3}}  \NR
             \NC 1+t     \NC = 1,23                \NR
             \NC t       \NC =  0,23.              \NR
            \stopmathalignment
\stopformula
\input ward
\stopMycolumns
\stoptext


Le 25 octobre 2017 à 14:32, Fabrice Couvreur <fabrice1.couvreur@gmail.com>
a écrit :

> Hello,
> I notice a space when I use the command \math{\lim\limits_{n \to +\infty}
> 0,8^n=0} and mixedcolumns.
> Thanks.
> Fabrice
> #####################################################
>
> \definemixedcolumns
>   [sectioncolumns]
>   [
>     n=2,
>     separator=rule,
>     rulecolor=,
>     balance=yes,
>   ]
>
> \setupalign[verytolerant,stretch,hanging]
>
> \starttext
> On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
> Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
> 0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
> 2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
> nombre de calculatrices vendues se stabiliserait autour de 2 millions.
> \blank
> \startsectioncolumns
>   On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
> Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
> 0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
> 2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
> nombre de calculatrices vendues se stabiliserait autour de 2 millions.
> \startsectioncolumns
>
> \stoptext
>

[-- Attachment #1.2: Type: text/html, Size: 4876 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] 3+ messages in thread

* Undesirable space with mixedcolumns
@ 2017-10-25 12:27 Fabrice Couvreur
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2017-10-25 12:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,
I notice a space when I use \definemixedcolumns with the command
\math{\lim\limits_{n
\to +\infty} 0,8^n=0} and mixedcolumns.
Thanks.
Fabrice
#####################################################

\definemixedcolumns
  [sectioncolumns]
  [
    n=2,
    separator=rule,
    rulecolor=,
    balance=yes,
  ]

\setupalign[verytolerant,stretch,hanging]

\starttext
On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
nombre de calculatrices vendues se stabiliserait autour de 2 millions.
\blank
\startsectioncolumns
  On a \math{0< 0,8 < 1} donc \math{\lim\limits_{n \to +\infty} 0,8^n=0}.
Comme pour tout entier naturel \math{n}, on a : \math{u_n=-500\times
0,8^n+2\,000}, on en déduit que la limite de la suite \u est égale à
2\,000. Si l'évolution des utilisateurs se maintient à long terme, le
nombre de calculatrices vendues se stabiliserait autour de 2 millions.
\startsectioncolumns

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 2096 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] 3+ messages in thread

end of thread, other threads:[~2017-10-27 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 12:32 Undesirable space with mixedcolumns Fabrice Couvreur
2017-10-27 10:43 ` Fabrice Couvreur
  -- strict thread matches above, loose matches on Subject: below --
2017-10-25 12:27 Fabrice Couvreur

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