From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39606 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Command \NN in table? Date: Sat, 22 Mar 2008 23:45:16 -0400 (EDT) Message-ID: References: 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: ger.gmane.org 1206283931 20333 80.91.229.12 (23 Mar 2008 14:52:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2008 14:52:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 23 15:52:41 2008 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 1JdRYt-00012x-Uy for gctc-ntg-context-518@m.gmane.org; Sun, 23 Mar 2008 15:52:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 861561FB71; Sun, 23 Mar 2008 15:52:03 +0100 (CET) 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 18076-05-14; Sun, 23 Mar 2008 15:51:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B49231FEBC; Sun, 23 Mar 2008 15:17:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1B1031FEA3 for ; Sun, 23 Mar 2008 15:17:51 +0100 (CET) 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 14182-01-24 for ; Sun, 23 Mar 2008 15:17:15 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id B1E8C20E80 for ; Sun, 23 Mar 2008 04:44:00 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY tombraider.mr.itd.umich.edu ID 47E5D1FD.2BB23.16512 ; 22 Mar 2008 23:43:57 -0400 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:39606 Archived-At: On Sat, 22 Mar 2008, Morgan Brassel wrote: > >> What exactly are you trying to achieve? I do not completely know all the >> features of digits. But table has a numerical columns n and q, see >> http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf. There are also >> \HC (hook column) which can do certain things. Can you give an example of >> a table (placing \digit commands by hand)? > > Thank you for your quick answer, Aditya. > In fact, I saw this example at the end of Hans's This Way #3: > > \starttext > \starttabulate[|r|] > \NN 1.@@ \NR > \NN 1.1@ \NR > \NN 1.11 \NR > \NN 11.11 \NR > \stoptabulate > \stoptext > > and I would like to get the same result replacing tabulate by table... > What I like about \digits (and \NN) is that you can change the number > format (english Vs french for example) without rewriting anything. Does this do what you want? %\TracingFormats=1 \starttable[|b{\digits}r|] \NC 1.@@ \NC \AR \NC 1.1@ \NC \AR \NC 1.11 \NC \AR \NC 11.11 \NC \AR \stoptable 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 ___________________________________________________________________________________