Am 09.03.10 17:36, schrieb Taco Hoekwater:
In general, it is advisable not to use any \setup.... commands in horizontal mode (unless there is absolutely no way around it). Right but for natural tables it's not so easy, maybe something like this will help.
\def\dobTABLE[#1]% {\pushTBL % box not here \bgroup \TBLhead\emptytoks \TBLnext\emptytoks \TBLbody\emptytoks \TBLfoot\emptytoks \ifhmode\kern\zeropoint\fi % blocks \removeunwantedspaces: check this on icare handelingsschema \resetcharacteralign % new \getparameters [\@@tbl\@@tbl] [\c!align={\v!right,\v!broad,\v!high},#1]% \doprocesslocalsetups{\csname\@@tbl\@@tbl\c!setups\endcsname}% \hsize\tbltbltextwidth ... You can make your setups in the preamble with \startsetups setups:table \setupTABLE[...] \stopsetups and use them in your document with \bTABLE[setups=setups:table] ... \eTABLE Wolfgang