[NTG-context] "Escaping" tabulate

Peter Münster pmlists at free.fr
Fri Jul 15 18:43:47 CEST 2005


On Fri, 15 Jul 2005, Radhelorn wrote:

> I've solved aligning problem with \hfill\vbox or \rightaligned, but this 
> needs to be done for each table.
> 
> Did I miss something important?

Hello,
you can define a macro. For example:

\def\startMyMidAlignedTable{\hbox to \hsize\bgroup\hss\vbox
  \bgroup\starttable}
\def\stopMyMidAlignedTable{\stoptable\egroup\hss\egroup}

\starttext
\input tufte

\startMyMidAlignedTable[|l|l|]
\HL
\NC this \NC is    \NC\AR
\NC a    \NC table \NC\AR
\HL
\stopMyMidAlignedTable

\input knuth
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/


More information about the ntg-context mailing list