* Question about natural tables
@ 2016-10-09 8:42 Fabrice Couvreur
2016-10-09 19:58 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Couvreur @ 2016-10-09 8:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about natural tables
2016-10-09 8:42 Question about natural tables Fabrice Couvreur
@ 2016-10-09 19:58 ` Wolfgang Schuster
2016-10-09 20:51 ` Fabrice Couvreur
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2016-10-09 19:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 669 bytes --]
> Fabrice Couvreur <mailto:fabrice1.couvreur@gmail.com>
> 9. Oktober 2016 um 10:42
>
> Hello,
> I do not succeed in having two sub-columns of the same width in the
> third column.
Your table has four columns but you set only the width for the first
three, adding a width setting for the fourth column helps.
\startsetups[table:initialize]
\setupTABLE[start][align={middle,lohi},offset=0.8ex,style=\smallbodyfont]
\setupTABLE[column][1][width=0.10\textwidth]
\setupTABLE[column][2][width=0.40\textwidth]
\setupTABLE[column][3][width=0.25\textwidth]
\setupTABLE[column][4][width=0.25\textwidth]
\setupTABLE[1][1,2,3][frame=off]
\stopsetups
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1983 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about natural tables
2016-10-09 19:58 ` Wolfgang Schuster
@ 2016-10-09 20:51 ` Fabrice Couvreur
0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Couvreur @ 2016-10-09 20:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1305 bytes --]
Hi Wolfgang,
Thanks
Fabrice
2016-10-09 21:58 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
> Fabrice Couvreur <fabrice1.couvreur@gmail.com>
> 9. Oktober 2016 um 10:42
>
> Hello,
> I do not succeed in having two sub-columns of the same width in the third
> column.
>
> Your table has four columns but you set only the width for the first
> three, adding a width setting for the fourth column helps.
>
> \startsetups[table:initialize]
> \setupTABLE[start][align={middle,lohi},offset=0.8ex,
> style=\smallbodyfont]
> \setupTABLE[column][1][width=0.10\textwidth]
> \setupTABLE[column][2][width=0.40\textwidth]
> \setupTABLE[column][3][width=0.25\textwidth]
> \setupTABLE[column][4][width=0.25\textwidth]
> \setupTABLE[1][1,2,3][frame=off]
> \stopsetups
>
> Wolfgang
>
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>
[-- Attachment #1.2: Type: text/html, Size: 3645 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-09 20:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-09 8:42 Question about natural tables Fabrice Couvreur
2016-10-09 19:58 ` Wolfgang Schuster
2016-10-09 20:51 ` 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).