From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87332 Path: news.gmane.org!not-for-mail From: "Mikael P. Sundqvist" Newsgroups: gmane.comp.tex.context Subject: Re: Centering tabulate env. using \setuptabulate Date: Tue, 13 May 2014 07:03:58 +0200 Message-ID: References: <20140513032836.GA761@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399957461 4364 80.91.229.3 (13 May 2014 05:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2014 05:04:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 13 07:04:17 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wk4sz-0004vk-3m for gctc-ntg-context-518@m.gmane.org; Tue, 13 May 2014 07:04:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9191B1021B for ; Tue, 13 May 2014 07:04:16 +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 qz9YTr6pVuGa for ; Tue, 13 May 2014 07:04:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 980871020B for ; Tue, 13 May 2014 07:04:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59E57101F0 for ; Tue, 13 May 2014 07:04:09 +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 JTdHFwRIQPqZ for ; Tue, 13 May 2014 07:04:07 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C2CD7101E1 for ; Tue, 13 May 2014 07:03:58 +0200 (CEST) Original-Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4D53wJ6032599 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 13 May 2014 07:03:58 +0200 Original-Received: by mail-wi0-f181.google.com with SMTP id n15so5586173wiw.8 for ; Mon, 12 May 2014 22:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+FzvWyl2QzNc+u99z4zcqkwHVXStZkleAaGaTQPcmis=; b=CHOc9qaXFdHL6QYhQFJBY7vKBl6GutOiR3JAwgx7d0g2aZxBsplup3JAayFjVTY2P2 +JsyrcApcZg7qjgojrbTYIlBUazqYbG+eUzC8EBlMi6N+EAXXc+ElprUiRsdOR8wiQle wNyT51zcpe/aml4EwNKPnfDrMsvOraUdA8fV/CQPaXsTqZalLP/Iq2jCvO5/U6Sb8AgU JAGzY2sNyspuz9vhKJWpmlF19NZSZ+FYC9FbKmuxIuglFBBsGLQ53Bsq4jiUH+LphDvB 1gJY36YOF9XJXVXA8EcD4Dq2B/NhusZTt9Pwl1VCGJDu6Wla5kc/zTe6qzzJKwdRtFo6 TyxA== X-Received: by 10.194.63.196 with SMTP id i4mr5617173wjs.50.1399957438112; Mon, 12 May 2014 22:03:58 -0700 (PDT) Original-Received: by 10.180.93.72 with HTTP; Mon, 12 May 2014 22:03:58 -0700 (PDT) In-Reply-To: <20140513032836.GA761@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WM1h3WKj - 94841312b53c - 20140513 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87332 Archived-At: On Tue, May 13, 2014 at 5:28 AM, Devendra Ghate wrote: > I expect follow MWE to produce a centered table. But it does not. > Am I making any obvious mistake. > > --------------- > \definetabulate[centeredTable][|r|l|] > \setuptabulate > [centeredTable] > [align={middle}] > \starttext > \startcenteredTable > \HL > \NC I want this table \NC aligned in the center.\NR > \HL > \stopcenteredTable > \stoptext > ---------------- > > This also *doesn't* work. > > --------------- > \setuptabulate > [align={middle}] > \starttext > \starttabulate[|r|l|] > \HL > \NC I want this table \NC aligned in the center.\NR > \HL > \stoptabulate > \stoptext > ---------------- > > > > -- > Devendra Ghate > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ I'd do such things with \starttext \input knuth\par \placetable[force,none]{none}{% \starttabulate[|r|l|] \HL \NC I want this table \NC aligned in the center.\NR \HL \stoptabulate } \input knuth \stoptext (the knuths are there only not to make the page look so empty, and the force makes it non-floating, and the nones are there to not have any caption (or even Table title)) but maybe there are better solutions? /Mikael ___________________________________________________________________________________ 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 ___________________________________________________________________________________