Am 19.04.2011 um 11:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
> Hello,
>
> why this code doesn't give a centered table?
>
> ---
>
> \starttext
> \startalignment[middle]
> \dontleavehmode
> \starttable[|c|c|c|]
> \HL
> \VL a \VL b \VL c \VL\AR
> \HL
> \VL a \VL b \VL c \VL\AR
> \HL
> \stoptable
> \stopalignment
> \stoptext
>
> ---
>
> How to achieve it?
\placetable[force,none]{}
{\starttable[|c|c|c|]
…
\stoptable}
When you want less space before and after the table
you can define your own float with reduced spacing.
\definefloat[fixedtable][table]
\setupfloat[fixedtable][spacebefore=,spaceafter=,default={force,none}]
\starttext
\placefixedtable{}
{\starttable[|c|c|c|]
…
\stoptable}
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________