From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61246 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jer=F3nimo_Alaminos_Prats?= Newsgroups: gmane.comp.tex.context Subject: Re: align header in table Date: Fri, 27 Aug 2010 10:36:04 +0200 Message-ID: References: <544C103B-BFD6-44B4-A223-31F794327907@ugr.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282898185 27259 80.91.229.12 (27 Aug 2010 08:36:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 08:36:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 27 10:36:24 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OouQC-0001Ts-19 for gctc-ntg-context-518@m.gmane.org; Fri, 27 Aug 2010 10:36:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CBF0CA62C; Fri, 27 Aug 2010 10:36:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YcRTdOfRMpoi; Fri, 27 Aug 2010 10:36:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 999FDCA61A; Fri, 27 Aug 2010 10:36:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22675CA61A for ; Fri, 27 Aug 2010 10:36:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Q1JAYW8XoDXk for ; Fri, 27 Aug 2010 10:36:07 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id B2089CA619 for ; Fri, 27 Aug 2010 10:36:07 +0200 (CEST) Original-Received: from mail1.ugr.es (mail1.ugr.es [150.214.35.28]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7R8a6Ul024180 for ; Fri, 27 Aug 2010 10:36:07 +0200 Original-Received: from mail1.ugr.es (localhost [127.0.0.1]) by localhost.ugr.es (Postfix) with ESMTP id 39E1A48144 for ; Fri, 27 Aug 2010 10:36:04 +0200 (MEST) Original-Received: from smtp1.ugr.es (smtp1.ugr.es [150.214.20.69]) by mail1.ugr.es (Postfix) with ESMTP id 1B4894813F for ; Fri, 27 Aug 2010 10:36:04 +0200 (MEST) Original-Received: from aeg.ugr.es (aeg.ugr.es [150.214.18.76]) by smtp1.ugr.es (Postfix) with ESMTP id 952BEF201 for ; Fri, 27 Aug 2010 10:36:04 +0200 (MEST) In-Reply-To: <544C103B-BFD6-44B4-A223-31F794327907@ugr.es> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=150.214.35.28; country=ES; region=51; city=Granada; latitude=37.1833; longitude=-3.6000; http://maps.google.com/maps?q=37.1833,-3.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dCXkA6Ft - 79200e47d221 - 20100827 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61246 Archived-At: El 26/08/2010, a las 20:29, Jer=F3nimo Alaminos Prats escribi=F3: > Hi all, > I've been following the examples in the garden to write the following tab= le > = > = > \chardef\characteralignmentmode=3D1 > = > \startTABLE > \setupTABLE[column][alignmentcharacter=3D{,},aligncharacter=3Dyes,align= =3Dmiddle] > \setupTABLE[frame=3Doff] > \setupTABLE[row][first][bottomframe=3Don] > \NC \alpha \NC \beta \NC error absoluto\NC error relativo \NC \NR = > \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \NR > \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{= -4} \NC 0,05 \NC \NR > \NC 2\times 10\high{4} \NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4}= \NC 0,05 \NC\NR > \stopTABLE > = > = > Is there a way to have the entries of first row centered? = > The obvious \setupTABLE[row][first][align=3Dmiddle] do not have any effec= t. > Thanks, > Jeronimo. > = > = I forgot about table. Sorry for the noise. The result that I was looking fo= r it's explained in the articles of Aditya on table macros. = \starttable[|l|cq1,5 |cq1,5 |cq1,2 |] = \NC\REF[cB]{\alpha} \NC \REF[cB]{$\alpha^{*}$} \NC \REF[cB]{error absoluto}= \NC \REF[cB]{error relativo} \NC \AR = \HL \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \AR \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{-4= } \NC 0,05 \NC \AR \NC 2\times 10\high{4} \NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4} \= NC 0,05 \NC\AR \HL \stoptable Best, Jeronimo. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________