ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Special Title
Date: Wed, 18 Jan 2006 00:11:58 +0100	[thread overview]
Message-ID: <43CD79BE.1040501@wxs.nl> (raw)
In-Reply-To: <43CD4E2A.9010207@wapf.ch>

Andreas Wapf wrote:

> Hello
>
> I'm searching a way to place a title on top of a new page with \title
> and sometimes an additonal text (name of the author or something else)
> directly under the title. But the main text should always start some
> distance from the header and not from the title. Is this possible?
>
> As an example:
>
> with a little text:
> header
> ----------
> title 1
> author x y
>
> main text 4 new lines from the header
>
>
> without the short text:
>
> header
> ----------
> title 1
>
>
> main text 4 new lines from the header

\vbox to 4\lineheight \bgroup
       title 1
       author x y
      \vfill
\egroup

will do that; ok, you may add some strutdepth or so:

\vbox to 4\lineheight \bgroup
       title 1
       author x y
      \vfill
\egroup
\vskip-\prevdepth
\vskip-\lineheight
\strut \par

you can also use \framed[lines=4,align=normal]{...}

Hans

      reply	other threads:[~2006-01-17 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 20:06 Andreas Wapf
2006-01-17 23:11 ` Hans Hagen [this message]

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=43CD79BE.1040501@wxs.nl \
    --to=pragma@wxs.nl \
    --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).