ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: vertically centred
Date: Fri, 13 Aug 2004 08:47:17 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0408130839380.2097@gaston.free.fr> (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/

                 reply	other threads:[~2004-08-13  6:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408130839380.2097@gaston.free.fr \
    --to=pmlists@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).