From: Pontus Lurcock <pont@talvi.net>
To: ntg-context@ntg.nl
Subject: Re: Table Column Width
Date: Sat, 18 Jun 2011 19:12:49 +1200 [thread overview]
Message-ID: <20110618071249.GJ20248@rae.vm.bytemark.co.uk> (raw)
In-Reply-To: <1308375233.2702.19.camel@kip-laptop>
On Fri 17 Jun 2011, Kip Warner wrote:
> I have a table with four columns. The first three are fine as fixed
> width and fairly narrow, but I need the fourth one to be larger to
> accommodate text that can wrap for two or more lines.
>
> How would I go about doing this? I'm guessing something needs to said in
> the \starttable[|c|c|c|c|] last field, but I can't figure out what from
> the documentation. The syntax is a little elusive.
I'm afraid I can't help directly with the Table module you're using,
but you may want to consider using one of ConTeXt's newer table
modules: http://wiki.contextgarden.net/Tables_Overview lists the Table
module as ‘deprecated’. I tend to use ‘natural tables’ (
http://wiki.contextgarden.net/TABLE ) for most things -- they're
full-featured and well documented.
There is also Tabulate -- fewer features and less documentation,
but easier for quick jobs:
\starttext
\starttabulate[|l|p(5cm)|]
\NC short \NC \raggedright A rather lengthier piece of text which
will require more than one line when typeset within a narrow table
column \NC\NR
\stoptabulate
\stoptext
Hope this helps,
Pont
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-06-18 7:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-18 5:33 Kip Warner
2011-06-18 7:12 ` Pontus Lurcock [this message]
2011-06-18 23:24 ` Kip Warner
2011-06-18 9:27 ` Hans Hagen
2011-06-18 23:45 ` Kip Warner
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=20110618071249.GJ20248@rae.vm.bytemark.co.uk \
--to=pont@talvi.net \
--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).