Difference between revisions of "Makeup"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | A makeup is a separate | + | 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 == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | There are a few ways to invoke a custom makeup: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | There | ||
− | |||
− | |||
<texcode> | <texcode> | ||
Line 48: | Line 17: | ||
\stoptext | \stoptext | ||
</texcode> | </texcode> | ||
+ | |||
+ | And another: | ||
<texcode> | <texcode> | ||
Line 59: | Line 30: | ||
\stoptext | \stoptext | ||
</texcode> | </texcode> | ||
− | |||
− | |||
− | + | By default, makeups lack both header and footers. They are vertically centered and horizontally aligned to the left.. | |
− | =Vertical | + | == Vertical Aligment == |
Makeups are centered vertically by default. | Makeups are centered vertically by default. | ||
Line 88: | Line 57: | ||
Horizontal aligment is specified with the <code>align</code> option. | Horizontal aligment is specified with the <code>align</code> option. | ||
+ | |||
+ | == 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 |
Revision as of 03:51, 13 March 2014
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
There are a few ways to invoke a custom makeup:
\definemakeup[custom][align=middle] \starttext \startmakeup[custom] This is a title page. \stopmakeup \input zapf \stoptext
And another:
\definemakeup[custom][align=middle] \starttext \startcustommakeup This is a title page. \stopcustommakeup \input zapf \stoptext
By default, makeups lack both header and footers. They are vertically centered and horizontally aligned to the left..
Vertical Aligment
Makeups are centered vertically by default.
The way to align them vertically to the top or to the bottom is the following:
\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
Horizontal aligment is specified with the align
option.