ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Undesirable space with mixedcolumns
Date: Fri, 27 Oct 2017 12:43:49 +0200	[thread overview]
Message-ID: <CACyK-eo2QpAmU9DWcYhpN3corYLLLJwH+8-9oU7rXDTTPM7EGQ@mail.gmail.com> (raw)
In-Reply-To: <CACyK-er_1t0HumL==E+YhZ2DfJ90muMWyrRKR4v=yMWJJNMSsA@mail.gmail.com>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2017-10-27 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25 12:32 Fabrice Couvreur
2017-10-27 10:43 ` Fabrice Couvreur [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-25 12:27 Fabrice Couvreur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACyK-eo2QpAmU9DWcYhpN3corYLLLJwH+8-9oU7rXDTTPM7EGQ@mail.gmail.com \
    --to=fabrice1.couvreur@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).