[NTG-context] Centring text on a page

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Jul 20 13:21:03 CEST 2006


2006/7/20, Jeffrey Drake <jptdrake at gmail.com>:
>
> I have a title page I would like to centre some text on. I can easily
> do the horizontal text with:
>
> \startalignment[middle]
>
> ...
>
> \stopalignment
>
> But I can't figure out how to get it to do verticle centring.
>
> A \startlocal  block modifying the layout might work, but I wonder if
> there is a better way.
>
> Regards,
> Jeffrey Drake




2006/7/20, Jeffrey Drake <jptdrake at gmail.com>:

> I have a title page I would like to centre some text on. I can easily
> do the horizontal text with:
>
> \startalignment[middle]
>
> ...
>
> \stopalignment
>
> But I can't figure out how to get it to do verticle centring.
>
> A \startlocal  block modifying the layout might work, but I wonder if
> there is a better way.


You can use

\startstandardmakeup[align=middle]
In the middle
\stopstandardmakeup

or

\centerbox{In the middle}

Gruß

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060720/698da70f/attachment.html 


More information about the ntg-context mailing list