Changes

Jump to navigation Jump to search
1,382 bytes added ,  19:44, 10 March 2014
introduction and vertical alignment
</pre>
&mdash; Hans, http://www.ntg.nl/pipermail/ntg-context/2010/051896.html
 
=Introduction=
A makeup is an special kind of page that some documents might contain.
It is intended for covers, colophons or similar pages. Their key
feature is that they don’t have to rely on the current page layout
style.
 
There is one standard makeup, but more can be defined when needed.
 
The way to invoke them is one of the following two:
 
<texcode>
\definemakeup[custom][align=middle]
\starttext
\startmakeup[custom]
This is a title page.
\stopmakeup
 
\input zapf
\stoptext
</texcode>
 
<texcode>
\definemakeup[custom][align=middle]
\starttext
\startcustommakeup
This is a title page.
\stopcustommakeup
 
\input zapf
\stoptext
</texcode>
By default, makeups lack both header and footers. They are vertically
centered and horizontally aligned to the left.
 
Configuration options can be found at <cmd>setupmakeup</cmd>.
 
=Vertical aligment of makeups=
 
Makeups are centered vertically by default.
 
The way to align them vertically to the top or to the bottom is the following:
 
<texcode>
\setuppapersize[A6]
\starttext
\startstandardmakeup[top=,]
This is vertically aligned to the top.
\stopstandardmakeup
 
\startstandardmakeup[bottom=,]
This is vertically aligned to the bottom.
\stopstandardmakeup
 
\startstandardmakeup
This is the default: vertically centered.
\stopstandardmakeup
\stoptext
</texcode>
 
Horizontal aligment is specified with the <code>align</code> option.
139

edits

Navigation menu