ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: \part centered vertically.
Date: Wed, 20 Oct 2004 14:34:54 +0200	[thread overview]
Message-ID: <41765B6E.3010002@seznam.cz> (raw)
In-Reply-To: <41763A8F.6040106@hotmail.com>

Dirar Bougatef wrote:

> I have setup my parts in the following way:
> 
> \def\MyPart#1#2
> {\hbox to \hsize \bgroup
> \hfill
> \setupframed[height=.7cm,offset=.5em,frame=off]
> \framed[align=left]{#1}%
> \framed[align=right,leftframe=on]{#2}%
> \egroup}
> 
> \setuphead[part][before={\vfill},after={\vfill},command=\MyPart]
> 
> But this does not make my parts titles appear vertically centered.

\setuphead[part][before={\hbox{}\vfill},after={\vfill},command=\MyPart,placehead=yes]
                          ^^^^^^^

Please, next time insert minimal, but COMPLETE example. I spent 10 
minutes looking for placehead=yes to see anything.

Cheers
Vit Zyka

> Dirar.

  reply	other threads:[~2004-10-20 12:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 10:14 Dirar Bougatef
2004-10-20 12:34 ` Vit Zyka [this message]
2004-10-20 19:05 Dirar BOUGATEF
2004-10-20 21:04 ` Patrick Gundlach
2004-10-20 19:15 Dirar BOUGATEF
2004-10-21  8:24 ` Hans Hagen
2004-10-21 12:50 Dirar BOUGATEF
2004-10-21 16:44 ` Hans Hagen

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=41765B6E.3010002@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --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).