Re: [NTG-context] Figures in a table?

2006-01-20 Thread Hans Hagen

David Arnold wrote:


All,

I've almost answered my own question with:

\startbuffer[table]
\setupTABLE[c][1][width=0.6\textwidth]
\setupTABLE[c][2][width=0.2\textwidth]
\setupTABLE[c][3][width=0.2\textwidth]
\bTABLE[align={middle,lohi}]
\bTR
\bTH Number line \eTH
\bTH Set-builder notation \eTH
\bTH Interval notation \eTH
\eTR
\bTR
\bTD \externalfigure[realline4] \eTD
\bTD $\{x:\,x3\}$ \eTD
\bTD $(3,\infty)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline5] \eTD
\bTD $\{x:\,x3\}$ \eTD
\bTD $(-\infty,3)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline6] \eTD
\bTD $\{x:\,x\ge3\}$ \eTD
\bTD $[3,\infty)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline7] \eTD
\bTD $\{x:\,x\le3\}$ \eTD
\bTD $(-\infty,3]$ \eTD
\eTR
\eTABLE
\stopbuffer

\placefigure[][tbl:numlines]
{Table}
{\getbuffer[table]}


However, two things:

1. My figures are not centered in their first column.



somehow strut=no does not work, so for the moment use:

\bTD \setnostrut \dontleavehmode \externalfigure[realline4] \endgraf 
\removedepth \eTD

or make a \def\MyExternalFigure[#1]{...} 


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Figures in a table?

2006-01-20 Thread Hans Hagen

David Arnold wrote:

in the next release you can do:


\setupTABLE[c][1][width=0.6\textwidth,strut=no]

\bTD \dontleavehmode \externalfigure[realline4] \eTD


-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Figures in a table?

2006-01-19 Thread David Arnold

All,

Has anyone put figures in a table?

I'd like to have a 4 row, 3 column table, where the first column  
contains number lines with intervals of real numbers shaded. The  
second column would contain the setbuilder notation for the shaded  
interval, and the third column would contain the interval notation  
for the shaded interval.


Ideas?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Figures in a table?

2006-01-19 Thread David Arnold

All,

I've almost answered my own question with:

\startbuffer[table]
\setupTABLE[c][1][width=0.6\textwidth]
\setupTABLE[c][2][width=0.2\textwidth]
\setupTABLE[c][3][width=0.2\textwidth]
\bTABLE[align={middle,lohi}]
\bTR
\bTH Number line \eTH
\bTH Set-builder notation \eTH
\bTH Interval notation \eTH
\eTR
\bTR
\bTD \externalfigure[realline4] \eTD
\bTD $\{x:\,x3\}$ \eTD
\bTD $(3,\infty)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline5] \eTD
\bTD $\{x:\,x3\}$ \eTD
\bTD $(-\infty,3)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline6] \eTD
\bTD $\{x:\,x\ge3\}$ \eTD
\bTD $[3,\infty)$ \eTD
\eTR
\bTR
\bTD \externalfigure[realline7] \eTD
\bTD $\{x:\,x\le3\}$ \eTD
\bTD $(-\infty,3]$ \eTD
\eTR
\eTABLE
\stopbuffer

\placefigure[][tbl:numlines]
{Table}
{\getbuffer[table]}


However, two things:

1. My figures are not centered in their first column.

2. I'd like to add a little height to the last four rows.

Suggestions?

On Jan 19, 2006, at 5:19 PM, David Arnold wrote:


All,

Has anyone put figures in a table?

I'd like to have a 4 row, 3 column table, where the first column  
contains number lines with intervals of real numbers shaded. The  
second column would contain the setbuilder notation for the shaded  
interval, and the third column would contain the interval notation  
for the shaded interval.


Ideas?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context