ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startnarrower and TABLEs
Date: Thu, 23 Sep 2010 10:24:16 +0200	[thread overview]
Message-ID: <9F2548B3-EC7A-47B4-8860-09AB9E47066C@gmail.com> (raw)
In-Reply-To: <B2A01A85-7C2A-49B2-9939-9FC3A689D2FD@gundla.ch>


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	other threads:[~2010-09-23  8:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23  8:14 Patrick Gundlach
2010-09-23  8:24 ` Wolfgang Schuster [this message]
2010-09-23  8:48   ` Patrick Gundlach
2010-09-23  8:55     ` Wolfgang Schuster
2010-09-23  9:00       ` Patrick Gundlach
2010-09-23  9:18         ` Wolfgang Schuster
2010-09-23  9:27           ` Patrick Gundlach
2010-09-23  9:30             ` Wolfgang Schuster

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=9F2548B3-EC7A-47B4-8860-09AB9E47066C@gmail.com \
    --to=schuster.wolfgang@googlemail.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).