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: Question about natural tables
Date: Sun, 9 Oct 2016 10:42:31 +0200	[thread overview]
Message-ID: <CACyK-eqr1qb8oW5kQ1bVCTgHbvKgKK4J8=j__wmsrOQEi1KdvA@mail.gmail.com> (raw)


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

Hello,
I do not succeed in having two sub-columns of the same width in the third
column.
Thank you.
Fabrice

\useMPlibrary[dum]
\startsetups[table:initialize]

  \setupTABLE[start][align={middle,lohi},offset=0.8ex]
  \setupTABLE[column][2][width=0.5\textwidth]
  \setupTABLE[column][3][width=0.4\textwidth]
  \setupTABLE[column][first][width=1.5cm]
  \setupTABLE[1][1,2,3][frame=off]

\stopsetups

\starttext

\startlinecorrection[blank]
\startmidaligned
\bTABLE[setups=table:initialize]

\bTR
  \bTD                \eTD
  \bTD Algébriquement \eTD
  \bTD [nc=2] Graphiquement  \eTD
\eTR
\bTR
 \bTD                                                 \eTD
 \bTD[nr=2] L'équation \math{ax^2+bx+c=0}             \eTD
 \bTD[nc=2] La parabole d'équation \math{y=ax^2+bx+c} \eTD
\eTR
\bTR
 \bTD                                                 \eTD
 \bTD Cas où \math{a\geqslant 0}                      \eTD
 \bTD Cas où \math{a\leqslant 0}                      \eTD
\eTR
\bTR
 \bTD    \math{\Delta >0}                             \eTD
 \bTD  admet deux solutions distinctes :
            \startformula
 x_1=\frac{-b-\sqrt{\Delta}}{2a}\quad \rm{et} \quad
x_2=\frac{-b+\sqrt{\Delta}}{2a}
            \stopformula
\eTD
\bTD[nc=2] coupe deux fois l'axe des abscisses
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination \eTD
\eTR
\bTR
 \bTD    \math{\Delta=0}                             \eTD
 \bTD  admet une unique solution :
            \startformula
               x_0=-\frac{b}{2a}
            \stopformula
\eTD
\bTD[nc=2] coupe l'axe des abscisses en un seul point
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination \eTD
\eTR
\bTR
 \bTD    \math{\Delta<0}                             \eTD
 \bTD  n'admet pas de solution
\eTD
\bTD [nc=2] ne coupe pas l'axe des abscisses
\dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{}
\stopcombination        \eTD
\eTR
\eTABLE

\stopmidaligned
\stoplinecorrection

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 3256 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

             reply	other threads:[~2016-10-09  8:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09  8:42 Fabrice Couvreur [this message]
2016-10-09 19:58 ` Wolfgang Schuster
2016-10-09 20:51   ` 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-eqr1qb8oW5kQ1bVCTgHbvKgKK4J8=j__wmsrOQEi1KdvA@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).