Changes

Jump to navigation Jump to search
225 bytes removed ,  19:36, 3 November 2021
m
== Description ==
A makeup is a separate page, like a title page or colofon. The page has a special layout, allowing for custom and temporary header & footer sections. The idea is Pages that such pages need not rely on the current page layout styletypically include covers, which is especially useful for title pagescolophons, or similar. There is one standard makeup page, but you can define more if needed.
== See Also Examples ==
* httpThere are a few ways to invoke a custom makeup://wiki.contextgarden.net/Command/setupmakeup* http://www.ntg.nl/pipermail/ntg-context/2010/049662.html
<texcode>
\definemakeup[custom][align=middle]
\starttext
\startmakeup[custom]
This is a title page.
\stopmakeup
<pre>> Hi everyone, > > I cannot see any effect when using voffset and hoffset as a parameter for > \startstandardmakeup. For example: input zapf> > \startstandardmakeup[headerstate=none, footerstate=none, > hoffset=1in, hoffset=1in, width=4in, height=7.0in] > ... > \stopstandardmakeup > > I'd expect them to shift the page content up and to the > right, respectively. This is guessing from their name: I actually cannot find stoptext</texcode> any documentation on these parameters. Am I missing something?
indeed they are obsolete ... layers are better for that </pre>&mdash; Hans, httpThis may be easily extended to having multiple divider (title) pages://www.ntg.nl/pipermail/ntg-context/2010/051896.html
<texcode>\definemakeup[custom][align=Introduction=middle]\starttext\startmakeup[custom]A makeup This is an special kind of a divider page that some documents might contain.It is intended for covers, colophons or similar pages. Their keyfeature is that they don’t have to rely on the current page layout\stopmakeupstyle.\input tufte
There \startmakeup[custom]This is one standard makeup, but more can be defined when neededa second divider page.\stopmakeup
The way to invoke them is one of the following two:\input ward
<texcode>
\definemakeup[custom][align=middle]
\starttext
\startmakeup[custom]
This is a divider title page.
\stopmakeup
\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>
\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>.And then extend to others:
<texcode>\definemakeup[customone][align=middle]\definemakeup[customtwo][bottom=,] % See note below on Vertical aligment of Alignment\starttext\startcustomonemakeupThis is a title/divider page using customone.\stopcustomonemakeup \input ward \startcustomtwomakeupThis is a title/divider page using customtwo.\stopcustomtwomakeup \input zapf\stoptext</texcode> By default, makeupslack both header and footers. They are vertically centered and horizontally aligned to the left.. == Vertical Aligment ==
Makeups are centered vertically by default.
</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 == * {{cmd|setupmakeup}}* http://wiki.contextgarden.net/Command/setupmakeup* 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