Pablo Rodriguez <mailto:oi...@gmx.es>
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to