[NTG-context] Centering tabulate env. using \setuptabulate

Hans Hagen pragma at wxs.nl
Wed May 28 13:51:24 CEST 2014


On 5/28/2014 10:46 AM, Robert Zydenbos wrote:
> On May 27, 2014, at 15:37 , Wolfgang Schuster <schuster.wolfgang at gmail.com> 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 width 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?

maybe bTABLE ... tabulate p's get a distibuted width ... pretty hard to 
do otherwise

> Robert
>
> Test source:
>
> \starttext
>
> \input knuth
>
> \setuptabulate[split=yes]
>
> \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 Het is overigens maar een experiment, maar we zullen zien wat er gebeurt. {\bf 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

why xetex ... mkii is frozen

> \NR
> } % end of \dorecurse
> \stoptabulate
> } % end of \midaligned
>
> \stoptext
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list