[NTG-context] centering a makeup

Aditya Mahajan adityam at umich.edu
Sun Sep 14 18:16:17 CEST 2014


On Sun, 14 Sep 2014, Pablo Rodriguez wrote:

> Dear list,
>
> I have the following sample:
>
> \definemakeup
>  [custom]
>  [location=middle, width=.5\textwidth]
>
> \starttext
>
>  \startmakeup [custom]
>    \input ward
>  \stopmakeup
>
> \stoptext
>
> How can I center the makeup in the page?
>
> \definemakeup[custom][align=middle] centers the lines, but this is
> something different.
>
> It is not a question of paragraph orientation. It is rather a question
> of placing the makeup in the middle of the page (also horizontally)

(Untested):

\definemakeup[...][top=\vss, bottom=\vss]

Aditya


More information about the ntg-context mailing list