ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* vertically centred
@ 2004-08-13  6:47 Peter Münster
  0 siblings, 0 replies; only message in thread
From: Peter Münster @ 2004-08-13  6:47 UTC (permalink / raw)


Hello,
how could I centre vertically a table or a vbox?
In other words, how to do the same as the following LaTeX code in ConTeXt?

\documentclass{article}
\begin{document}
a box with a table:
\fbox{\begin{tabular}[c]{l}1\\2\\3\end{tabular}}\par
a mid-aligned parbox: \parbox[c]{1em}{1 2 3}
\end{document}

I tried with \vbox to 0pt{\vss ... \vss}, but then the vertical dimension
gets lost...

A related question: where are the differences between
\framed[align=low,high,lohi]{...} ?

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-13  6:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13  6:47 vertically centred Peter Münster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).