ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <patrick@gundla.ch>
To: ntg-context@ntg.nl
Subject: Re: Booktabs equivalent in Context
Date: Sat, 04 Aug 2007 09:28:47 +0200	[thread overview]
Message-ID: <m1odhniwr4.fsf@levana.de> (raw)
In-Reply-To: <20070803171006.gn644njnhw88sggg@web.mail.umich.edu> (Aditya Mahajan's message of "Fri, 03 Aug 2007 17:10:06 -0400")

Hello Aditya,

> To me this looks exactly similar to the example in the booktabs manual. 
> Am I missing something, or is it fair to say that context can generate 
> booktabs like tables?


Any way to shorten the rule \DL[2]? IMO this is critical for nicely
set tables.

But the rest looks very, very good! So many thanks for that!

I once had to typeset a huge table, with huge in the sense of 'lots of
rows and lots of columns' on a A4 single page. This would not have
been possible without the help of \cmidrule which is a rule between
two rows but restricted to a number of columns and with the ability to
trim the rule on the left, the right or both sides.


Gnu      stuffed
-------- -----------
Emu      stuffed

So the first rule should be aligned left with the other rules in that
table, the two rules must not touch each other (this is the trick to
avoid the ugly vertical rules!) In booktabs speak this would be
\cmidrule(r){1-1} and \cmidrule(l){2-2}. (booktabs.pdf on a LaTeX
installation). 

Is there something like \arraystretch(?) which is a factor that every
vertical whitespace in a table is multiplied with? This way you can
increase/decrease the height of a table without big trouble.

Patrick
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2007-08-04  7:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 21:10 Aditya Mahajan
2007-08-04  7:28 ` Patrick Gundlach [this message]
2007-08-06  1:13   ` Aditya Mahajan
2007-08-11 21:05     ` Patrick Gundlach
2007-08-08 12:03 ` Johannes Graumann
2007-08-08 22:23   ` Aditya Mahajan
2007-08-09  5:06     ` Hamid Kamrani
2007-08-09  6:43       ` Wolfgang Schuster
2007-08-09  7:43         ` Aditya Mahajan
2007-08-09  8:56           ` Wolfgang Schuster
2007-08-09 16:14             ` Aditya Mahajan
2007-08-10  5:44               ` Wolfgang Schuster
2007-08-11 21:05           ` Patrick Gundlach
2007-08-09 16:01         ` Hamid Kamrani

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=m1odhniwr4.fsf@levana.de \
    --to=patrick@gundla.ch \
    --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).