From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87611 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Centering tabulate env. using \setuptabulate Date: Wed, 28 May 2014 15:53:47 +0200 Message-ID: <1B472A98-47A4-44DA-906D-C710FE8A7F54@gmail.com> References: <20140513032836.GA761@gmail.com> <7F81262E-25E2-4AD8-804F-6EA5AE883B4D@gmail.com> <1C05DB5B-7FE6-42C1-88CF-6EF06B179490@zydenbos.net> <686B2798-7572-4BF0-9D3E-76E4C081BE67@zydenbos.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401285263 9160 80.91.229.3 (28 May 2014 13:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2014 13:54:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 28 15:54:14 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 1WpeJ3-00033p-A5 for gctc-ntg-context-518@m.gmane.org; Wed, 28 May 2014 15:54:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9061C1024C for ; Wed, 28 May 2014 15:54:12 +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 F4DtqfP6IRxg for ; Wed, 28 May 2014 15:54:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6DE0010228 for ; Wed, 28 May 2014 15:54:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B70B7101E6 for ; Wed, 28 May 2014 15:54:04 +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 PHsh2A+8Pa3D for ; Wed, 28 May 2014 15:54:03 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 2B0AD101E2 for ; Wed, 28 May 2014 15:53:57 +0200 (CEST) Original-Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4SEH3U4025541 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 28 May 2014 16:17:04 +0200 Original-Received: by mail-wg0-f45.google.com with SMTP id m15so10985537wgh.28 for ; Wed, 28 May 2014 06:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=UFO5t1gGJNAGPpqpMEYjbHdmyp/RHr9XEyAzU5zZ4Wo=; b=i10wbcy+Tkaw4FzgPgBvV8bVS83w29uaoD8BsG3KNWhPsr1g2zapm54naL8HaxDv9f JRhsG/M4q31HmPv8HxWqou7uHPsRtzqFtm7khmhQ5KAZVy4w2WjXLK2IIMIYOSpZMtUr AfG9RcQvKitqct6VY4f0sT3d0omtjx9EM4rqA5ZZS/JH2J+1WS/xotCBCO7OIrK0h65d K6aAZ/RZqv2sR5mTaIlTMEy6P1jS/bfoIQK+IawDHNPGlpwTQfv9UoIbNujWWYrHrita os1yNcNru9AblfeIGp2CD1ryocwJbK1RoLXcVuI1SvAF96O7/j0n82SpuqPjeMA3SOha GFdw== X-Received: by 10.194.206.2 with SMTP id lk2mr51553720wjc.33.1401285235521; Wed, 28 May 2014 06:53:55 -0700 (PDT) Original-Received: from keima.localdomain (x2f37f6d.dyn.telefonica.de. [2.243.127.109]) by mx.google.com with ESMTPSA id f6sm17035910wiy.19.2014.05.28.06.53.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 May 2014 06:53:54 -0700 (PDT) In-Reply-To: <686B2798-7572-4BF0-9D3E-76E4C081BE67@zydenbos.net> X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01M7qh4AM - a92b210d44a3 - 20140528 (trained as not-spam) 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:87611 Archived-At: Am 28.05.2014 um 10:46 schrieb Robert Zydenbos : > On May 27, 2014, at 15:37 , Wolfgang Schuster wrote: > = >>> Is there also an equivalent of \placetable for use with Natural Tables? >> = >> You can use \placetable for all table environments. > = > Thank you! > = > Now another one: > = > (a) I want to create a table using 'p' cells that does not use the full w= idth of the paper > (b) it is a long table, crossing a page end > (c) the whole table should be centered > = > I tried the source below and obviously made a mistake somewhere. > = > Any suggestions? > = > Robert > = > Test source: > = > \starttext > = > \input knuth > = > \setuptabulate[split=3Dyes] > = > \midaligned { %%% <-- THIS DOES NOT WORK -- it does not center the entire= table > \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] > \dorecurse{4}{ > \NC = > Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC He= t is overigens maar een experiment, maar we zullen zien wat er gebeurt. {\b= f And I want all this to be centered.} \NC \NR > \NR > \NC Als dit werkt, dan gaan we heel fanatiek hiermee verder. \NC Dan gaan= we allerlei prachtige zaken in ConTeXt zetten, met XeTeX. \NC \NR > \NR > } % end of \dorecurse > \stoptabulate > } % end of \midaligned > = > \stoptext Use \placetable with the keywords =93none=94 to disabled the counter/captio= n and =93split=94 to enable page breaks. \starttext \input knuth \startplacetable[location=3D{none,split}] \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC = Nu laat ik je iets zien in een tabel, die met tabulate gemaakt is. \NC He= t is overigens maar een experiment, maar we zullen zien wat er gebeurt. {\b= f And I want all this to be centered.} \NC \NR \NR \NC Als dit werkt, dan gaan we heel fanatiek hiermee verder. \NC Dan gaan= we allerlei prachtige zaken in ConTeXt zetten, met XeTeX. \NC \NR \NR} \stoptabulate \stopplacetable \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________