Pablo Rodriguez
16. Februar 2016 um 20:11
Dear list,

I have the following table:

\starttext
\startalign[center]
\startxtable[location=middle, frame=off, bottomframe=on,
topframe=on, rulethickness=2em,
%~ before={\startalign[center]}, after={\stopalign}
]
\startxrow
\startxcell test \stopxcell
\stopxrow
\stopxtable
\stopalign
\stoptext

Well, I thought location would center the table. Before and after (with
\startalign) crash compilation. Aligning the whole table doesn’t seem to
make any difference. Sorry, but how can I center the table and not its
contents?
Use

\startlinealignment[middle]
   \startxtable
    ...
    \stopxtable
\stoplinealignment

or

\startplacetable[location={force,none}]
   \startxtable
    ...
    \stopxtable
\stopplacetable
The second issue is about rulethickness: would it be possible to specify
different dimensions for each frame (top, bottom, left, right)?
Disable the normal frame and use a metapost background with
different values for all borders.

Wolfgang