Changes

Jump to navigation Jump to search
1,113 bytes added ,  17:06, 15 February 2023
some explanation added
== Description ==
A makeup is a separate single page, like a title page or colofon. The page has with a special layout, allowing for custom and temporary header & and footer sections. The idea is that such pages need not rely on the current page layout style, which is especially useful for title pages. There is one standard makeup page, but you can define more if needed.
== See Also ==Makeups don’t rely on the current page layout style, and they typically include covers, colophons or similar ones.
* http://wikiIn any case, it is important not to forget that makeup contents will never split in pages.contextgardenAll makeup contents must fit on a single page.net/Command/setupmakeup* http://www.ntg.nl/pipermail/ntg-context/2010/049662.html
There are predefined makeups: <code>standard</code>, <code>page</code>, <code>text</code> and <code>middle</code>. Of course, you can define as many as you may need.
<pre>> Hi everyoneBy default, > > I cannot see any effect when using voffset and hoffset as a parameter for > \startstandardmakeup. For example: > > \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 makeups have the > right, respectively. This is guessing from their namefollowing properties: I actually cannot find > any documentation on these parameters. Am I missing something?
indeed they are obsolete ... layers are better for that # They aren’t numbered in the final document (<code>pagestate=start</precode>changes this).&mdash; Hans# In double-sided documents, http:they are always on an odd page with the next page empty (<code>page=yes</code> and <code>doublesided=no</wwwcode> change each of these defaults).ntg.nl# They don’t include header or footers (use either <code>headerstate=start</pipermailcode> or <code>footerstate=start</ntg-contextcode> to change it).# They are left aligned (use the <code>align</2010/051896code> option key [and {{cmd|dontleavehmode}} with {{cmd|externalfigure}}]).html
=Introduction=A makeup is All makeups have an special kind of page that some documents might containassociated layout.It is intended for covers, colophons or similar pages. Their keyfeature is that they don’t have So you may use {{cmd|setuplayout}} to rely on tweak it (besides configuring the current page layoutstylemakeup itself).
There is one standard makeup, but more can be defined when needed.== Examples ==
The way There are a few ways to invoke them is one of a custom makeup (and to compare it with the following twoother predefined makeups):
<texcode>
\showframe
\setuppagenumbering[alternative=doublesided, page=,]
\setupmakeup[pagestate=start]
\definemakeup[custom][align=middle]
\starttext
\startmakeup[custom]
This is a title page.
\stopmakeup
 
\startmakeup[text]
This is a title page.
\stopmakeup
 
 
\startmakeup[middle]
This is a title page.
\stopmakeup
 
\startmakeup[standard]
This is a title page.
\stopmakeup
 
\startmakeup[page]
This is a title page.
\stopmakeup
 
\input zapf
\stoptext
</texcode>
 
This 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
\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 And then extend to others: <cmdtexcode>setupmakeup\definemakeup[customone][align=middle]\definemakeup[customtwo][bottom=,] % See note below on Vertical 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</cmdtexcodeBy default, makeups lack both header and footers. They are vertically centered and horizontally aligned to the left..
==Vertical aligment of makeupsAligment ==
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]]
139

edits

Navigation menu