From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22286 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: different border thicknesses in natural tables Date: Mon, 05 Sep 2005 00:00:08 +0200 Message-ID: <431B6E68.6090805@gmail.com> References: <43185055.4050304@virgilio.it> <431854ED.3040204@logosrl.it> <43188BCA.4000705@virgilio.it> <4318A156.2010007@elvenkind.com> <4318D49B.6000107@virgilio.it> <43194C96.8030700@elvenkind.com> <6faad9f005090303586ec4cbba@mail.gmail.com> <4319A55D.2080900@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1125871411 10954 80.91.229.2 (4 Sep 2005 22:03:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Sep 2005 22:03:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 05 00:03:26 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EC2Z4-0003Na-OS for gctc-ntg-context-518@m.gmane.org; Mon, 05 Sep 2005 00:02:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6DA591277F; Mon, 5 Sep 2005 00:02:14 +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 27532-04; Mon, 5 Sep 2005 00:02:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF27E1278D; Mon, 5 Sep 2005 00:00:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4BC11278D for ; Mon, 5 Sep 2005 00:00:27 +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 27532-03-2 for ; Mon, 5 Sep 2005 00:00:26 +0200 (CEST) Original-Received: from avs1.arnes.si (avs1.arnes.si [193.2.1.74]) by ronja.ntg.nl (Postfix) with ESMTP id AF2DA1277F for ; Mon, 5 Sep 2005 00:00:26 +0200 (CEST) Original-Received: from localhost (avs1.arnes.si [193.2.1.74]) by avs1.arnes.si (Postfix) with ESMTP id 4042B36A1B3 for ; Mon, 5 Sep 2005 00:00:26 +0200 (CEST) Original-Received: from avs1.arnes.si ([193.2.1.74]) by localhost (avs1.arnes.si [193.2.1.74]) (amavisd-new, port 10024) with ESMTP id 91996-01 for ; Mon, 5 Sep 2005 00:00:26 +0200 (CEST) Original-Received: from [194.249.10.210] (ar20-18i.dial-up.arnes.si [194.249.10.210]) by avs1.arnes.si (Postfix) with ESMTP id 1494736A19B for ; Mon, 5 Sep 2005 00:00:14 +0200 (CEST) User-Agent: Mozilla/4.5-4.75 (Windows; U; Windows NT 5.1; sl-SI; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: sl, en, en-us, de Original-To: mailing list for ConTeXt users In-Reply-To: <4319A55D.2080900@seznam.cz> X-Virus-Scanned: by amavisd-new at arnes.si X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22286 Archived-At: (Subject was: How this LaTeX code could be translated into ConTeXt?) Vit Zyka wrote: > Mojca Miklavec wrote: > >> If text in a cell is very long, it will be splitted in more lines >> automatically, so that the table of width \textwidth will be produced. >> \bTABLE ... \eTABLE is already very clever, however, I don't know if >> you can do something similar as in the LaTeX example you provided, so >> that the overall table width is fixed to exactly 16 cm (also for a > > > \bTABLE[option=stretch,textwidth=16cm] > ... > \eTABLE Thank you, Vit! I'm glad that the example on the wiki was wrong about that (there was a "not possible" mark) :) And here another question. I think it has already been asked a couple of times, but perhaps not in this context: I would like the first row (or column or the whole table) to have a thicker border, like in this example: *===*===*===* H | | H *===*===*===* H | | H *---*---*---* H | | H *===*===*===* (H,=: thick; |,-: thin) There is a dirty solution for it: prepare 16 different border types with Metafun (every possible combination of thin and thick border lines) and set the proper one for every single cell touching at least one thick border. A dash could be used to define an additional frame spanning over more than one row or column: \setupTABLE [1-3] % not equal to [1,2,3]; 1-3 handled as a single frame [1,2-3] % in this case almost equivalent to [1,1-3] [rulethickness=2pt] or as in this example: *---*---*---* | | | | *===*===*===* | | | | *---*---*---* | | | | *---*---*---* \setupTABLE [1-3] [1] % or [1-1] [frame=off,bottomframe=on,rulethickness=2pt] (Special care should be taken where nx= or ny= is used and crosses the border.) Does there already exist any similar functionality? What about commands like: [left|right|top|bottom]offset= [left|right|top|bottom]framecolor= [left|right|top|bottom]rulethickness= in \setupframed? (the last two options may lead to uneven effects in the corners when misused) Thank you, Mojca Miklavec