Changes

Jump to navigation Jump to search
1,273 bytes added ,  19:36, 3 November 2021
m
== Description ==
A makeup is a special, separate that has a special layout, allowing for custom and temporary header & footer sections. Pages that need not rely on the current page layout style typically include covers, colophons, or similar. There is one standard makeup page, but you can define more if needed.
== Examples ==
</texcode>
And anotherThis may be easily extended to having multiple divider (title) pages: <texcode>\definemakeup[custom][align=middle]\starttext\startmakeup[custom]This is a divider page.\stopmakeup\input tufte \startmakeup[custom]This is a second divider page.\stopmakeup \input ward \startmakeup[custom]This is a divider title page.\stopmakeup \input zapf\stoptext</texcode> Another way to start a previously defined <code>makeup</code> is to put it into the <code>\start</code> invocation, i.e., \start<''name''>makeup</code>. In the above case we can simply refer to the ''custom'' <code>makeup</code> with <code>\startcustommakeup</code>:
<texcode>
This is a title page.
\stopcustommakeup
 
\input zapf
\stoptext
</texcode>
 
And then extend to others:
 
<texcode>
\definemakeup[customone][align=middle]
\definemakeup[customtwo][bottom=,] % See note below on Vertical Alignment
\starttext
\startcustomonemakeup
This is a title/divider page using customone.
\stopcustomonemakeup
 
\input ward
 
\startcustomtwomakeup
This is a title/divider page using customtwo.
\stopcustomtwomakeup
\input zapf
</texcode>
== Horizontal Aligment == Horizontal aligment is specified with the <code>align</code> optionas in: <texcode>\definemakeup[custom][align=flushright] % align here is used to set text flush to the right\starttext\startcustommakeupThis is a title page.\stopcustommakeup \input zapf\stoptext</texcode>
== See Also ==
* http://www.ntg.nl/pipermail/ntg-context/2010/049662.html
* http://www.ntg.nl/pipermail/ntg-context/2010/051896.html
 
[[Category:Basics]]
[[Category:Layout]]

Navigation menu