From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35670 Path: news.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: Booktabs equivalent in Context Date: Sat, 04 Aug 2007 09:28:47 +0200 Organization: chaos Message-ID: References: <20070803171006.gn644njnhw88sggg@web.mail.umich.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186212593 18154 80.91.229.12 (4 Aug 2007 07:29:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2007 07:29:53 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 04 09:29:52 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IHE59-0000kv-Ti for gctc-ntg-context-518@m.gmane.org; Sat, 04 Aug 2007 09:29:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F2B821FF03; Sat, 4 Aug 2007 09:29:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22995-06; Sat, 4 Aug 2007 09:29:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F4371FEDE; Sat, 4 Aug 2007 09:29:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EAD8A1FEDE for ; Sat, 4 Aug 2007 09:29:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23044-02-4 for ; Sat, 4 Aug 2007 09:29:35 +0200 (CEST) Original-Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by ronja.ntg.nl (Postfix) with ESMTP id A41EC1FECB for ; Sat, 4 Aug 2007 09:29:35 +0200 (CEST) Original-Received: from silver.local (i5387897D.versanet.de [83.135.137.125]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.0/8.14.0) with ESMTP id l747Stp3005045 for ; Sat, 4 Aug 2007 09:29:04 +0200 (CEST) X-Lieblings-Musik: the_capricorns In-Reply-To: <20070803171006.gn644njnhw88sggg@web.mail.umich.edu> (Aditya Mahajan's message of "Fri, 03 Aug 2007 17:10:06 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) X-MailScanner-Information: UniDo-UniMail X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (nicht zwischen gespeichert, Wertung=-3.979, benoetigt 5, autolearn=not spam, ALL_TRUSTED, AWL, BAYES_00, DKIM_POLICY_SIGNSOME) X-MailScanner-From: patrick@gundla.ch X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35670 Archived-At: 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 ___________________________________________________________________________________