Am 23.09.2010 um 10:14 schrieb Patrick Gundlach:

> Hi,
> 
> my goal is to make a table that is as wide as the current \startnarrower ... 
> \stopnarrower part (thanks to the answer to this question on 
> tex.stackexchange.com:  http://tex.stackexchange.com/q/3381/243 )
> 
> 
> ------------------------------------------------------------------------------------------
> \starttext
> \startnarrower
> 
> \input tufte

\startlinecorrection \dontleavehmode
\bTABLE[option=stretch,textwidth=\localhsize]

> \bTABLE[option=stretch]
> \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
> \bTR \bTD 2 \eTD \bTD 3 \eTD \eTR
> \eTABLE

\stoplinecorrection

> \stopnarrower
> 
> \stoptext
> ------------------------------------------------------------------------------------------
> 
> Can I make the table exactly as wide as the text?

Use the “textwidth” key but keep in mind with the linecorrection you can
use split tables, for tables which use indent from \startnarrower and
split across pages you can use tabulate.

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
___________________________________________________________________________________

Reply via email to