From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63599 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: How to center a table horizontally? Date: Wed, 17 Nov 2010 13:58:21 +0100 Message-ID: <20101117125821.GA11494@micropit.couberia.bzh> References: <20101117124917.725722fd@mail.pontex.cz> 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: dough.gmane.org 1289998724 28725 80.91.229.12 (17 Nov 2010 12:58:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 12:58:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 13:58:40 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 1PIhay-0001A3-Fn for gctc-ntg-context-518@m.gmane.org; Wed, 17 Nov 2010 13:58:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0A74CA868; Wed, 17 Nov 2010 13:58:39 +0100 (CET) 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 dN0NWcJXQJqy; Wed, 17 Nov 2010 13:58:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 088A6CA83A; Wed, 17 Nov 2010 13:58:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7BB9CA83A for ; Wed, 17 Nov 2010 13:58:34 +0100 (CET) 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 snz2uSs5jNiG for ; Wed, 17 Nov 2010 13:58:23 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 99FAECA82B for ; Wed, 17 Nov 2010 13:58:23 +0100 (CET) Original-Received: from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr [80.12.242.126]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHCwMYA008778 for ; Wed, 17 Nov 2010 13:58:23 +0100 Original-Received: from micropit.couberia.bzh ([90.25.255.126]) by mwinf5d08 with ME id YCyM1f00N2kQ6Vm03CyNY4; Wed, 17 Nov 2010 13:58:22 +0100 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id 6E6C71606E3; Wed, 17 Nov 2010 13:58:21 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <20101117124917.725722fd@mail.pontex.cz> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.126; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DwcWmXD - 0a853ca8749b - 20101117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:63599 Archived-At: On Wed, Nov 17 2010, Lukas Prochazka wrote: > I'm creating a table, but I cannot center it horizontally: > > --- > \starttext > \startalignment[center] > \dontleavehmode > > \starttable[|c|] > \NC CCC \NC\NR > \stoptable > \stopalignment > \stoptext > --- I can't explain, what happens, but a \vbox helps: \starttext \startalignment[middle] \dontleavehmode \vbox{% \starttable[|c|] \NC CCC \NC\NR \stoptable } \stopalignment \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________