Am 28.05.2014 um 10:46 schrieb Robert Zydenbos <cont...@zydenbos.net>:

> On May 27, 2014, at 15:37 , Wolfgang Schuster <schuster.wolfg...@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?
> 
> 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
> \NR
> } % end of \dorecurse
> \stoptabulate
> } % end of \midaligned
> 
> \stoptext


Use \placetable with the keywords “none” to disabled the counter/caption and 
“split” to enable page breaks.

\starttext

\input knuth

\startplacetable[location={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 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
                \NR}
        \stoptabulate
\stopplacetable

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to