[NTG-context] Table and framedtext

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Dec 5 14:25:56 CET 2014


Hi,
In the following code, I would like columns that contain the figures have a
white background.
Best regards,
Fabrice

\definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00]
\setupcaptions[number=no]
\starttext
\startframedtext[
    width=\textwidth,
    frame=on,
    location=middle,
    background=color,
    backgroundcolor=mycolor]
\leftaligned{\color[red]{PROPRIÉTÉ}}
\blank[big]
Deux plans ${\cal P}_1$ et ${\cal P}_2$ de l'espace sont soit sécants, soit
parallèles.
\blank[big]
\bTABLE[align={middle,lohi}]
\setupTABLE[column][first][width=0.3\textwidth]
\setupTABLE[column][two][width=0.7\textwidth]
\setupTABLE[row][first][background=color,backgroundcolor=mycolor]
\bTR
\bTD
${\cal P}_1$ et ${\cal P}_2$ sont {\bf sécants}.
\eTD
\bTD[nc=2]
${\cal P_1}$ et ${\cal P_2}$ sont {\bf parallèles}.
\eTD
\eTR
\bTR
\bTD
\dontleavehmode\placefigure[] {${\cal P}_1$ et ${\cal P}_2$ sont {\bf
sécants} suivant une droite $d$.} {\externalfigure[cow.pdf][width=4cm]}
\eTD
\bTD
\dontleavehmode\placefigure[] {${\cal P}_1$ et ${\cal P}_2$ sont {\bf
strictement parallèles}.} {\externalfigure[cow.pdf][width=4cm]}
\eTD
\bTD
\dontleavehmode\placefigure[] {${\cal P}_1$ et ${\cal P}_2$ sont {\bf
confondus}.} {\externalfigure[cow.pdf][width=4cm]}
\eTD
\eTR
\eTABLE
\stopframedtext
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20141205/eb3af5d6/attachment.html>


More information about the ntg-context mailing list