ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: starttabulate vs starttable
Date: Thu, 4 Oct 2007 22:55:12 -0400 (EDT)	[thread overview]
Message-ID: <alpine.WNT.0.9999.0710042249060.4012@nqvgln> (raw)
In-Reply-To: <20071004223232.GB24077@obiit.org>

On Fri, 5 Oct 2007, frantisek holop wrote:

> hi there,
>
> please consider the following minimal examples:
>
> \starttext
> \starttable[|l|l|l|]
> \NC MidE \VL early ModE	\VL ModE  \NC \SR \HL
> \NC ge:s \VL gi:s       \VL geese \NC \FR
> \NC na:m \VL ne:minimal	\VL name  \NC \MR
> \NC mi:s \VL mays	\VL mice  \NC \LR
> \stoptable
>
> \starttabulate[|l|l|l|]
> \NC MidE \NC early ModE \NC ModE  \NC \NR \HL
> \NC ge:s \NC gi:s       \NC geese \NC \NR
> \NC na:m \NC ne:minimal	\NC name  \NC \NR
> \NC mi:s \NC mays	\NC mice  \NC \NR
> \stoptabulate
> \stoptext
>
> the tabulate example is basicly the same without
> the vertical lines, which it seems like it can't do,
> i get an ! Undefined control sequence.

Right now, tabulate does not support vertical lines. It is a nice 
feature to have. I know that the style guide says that one should not 
use vertical rules, but I feel that there I cases when I need them.

> but \HL seems to work (and \VL not).
> tabulate is very lightly documented so i am not sure
> which table command works there and which not.
>
> i'd like to use tabulate instead of table because
> of the spacing.  i dont need to stretch the content
> like table does.  this is a small inline "table"
> between 2 paragpraphs, tabulate seems more elegant
> to me here.

Actually, table also works for this kind of thing. The place where 
tabulate is really needed is when you want automatic width for 
paragraphs.

You can make table squeeze content vertically by saying

\setuptables[depth=0.3,height=0.6]

The default is height=0.8, depth=0.4. Play around with these values.

> Han,
> it would be nice if tabulate could handle VL,
> that would make tabulate even more useful.

+1.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2007-10-05  2:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 22:32 frantisek holop
2007-10-04 23:41 ` Arthur Reutenauer
2007-10-05  2:57   ` Aditya Mahajan
2007-10-05  2:55 ` Aditya Mahajan [this message]
2007-10-05  3:04   ` Aditya Mahajan

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=alpine.WNT.0.9999.0710042249060.4012@nqvgln \
    --to=adityam@umich.edu \
    --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).