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? Thanks in advance. Kind regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038
2011/4/19 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?
Thanks in advance.
Kind regards,
\starttext \startalignment[middle] \dontleavehmode \input knuth \centerline{ \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 -- luigi
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
participants (3)
-
luigi scarso
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster