Changes

Jump to navigation Jump to search
2,827 bytes removed ,  22:26, 27 August 2021
Added 2nd example incorporating a mailing list response from Wolfgang
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd"syntax> <tr> <td colspan="2" class="cmd">\setupmakeup<span class="first" >[...]</span><span class="second" >[...,...=...,...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[...]</td> <td>name </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:width|width]]</td> <td>[[Command/value:dimension|dimension]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:height|height]]</td> <td>[[Command/value:dimension|dimension]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:voffset|voffset]]</td> <td>[[Command/value:dimension|dimension]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:hoffset|hoffset]]</td> <td>[[Command/value:dimension|dimension]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:page|page]]</td> <td>[[Command/value:left|left]] [[Command/value:yes|yes]] [[Command/value:right|right]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:commands|commands]]</td> <td>[[Command/value:command|command]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:doublesided|doublesided]]</td> <td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:empty|empty]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:headerstate|headerstate]]</td> <td>[[Command/value:normal|normal]] [[Command/value:stop|stop]] [[Command/value:start|start]] [[Command/value:empty|empty]] [[Command/value:none|none]] [[Command/value:nomarking|nomarking]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:footerstate|footerstate]]</td> <td>[[Command/value:normal|normal]] [[Command/value:stop|stop]] [[Command/value:start|start]] [[Command/value:empty|empty]] [[Command/value:none|none]] [[Command/value:nomarking|nomarking]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:textstate|textstate]]</td> <td>[[Command/value:normal|normal]] [[Command/value:stop|stop]] [[Command/value:start|start]] [[Command/value:empty|empty]] [[Command/value:none|none]] [[Command/value:nomarking|nomarking]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:topstate|topstate]]</td> <td>[[Command/value:stop|stop]] [[Command/value:start|start]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:bottomstate|bottomstate]]</td> <td>[[Command/value:stop|stop]] [[Command/value:start|start]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:pagestate|pagestate]]</td> <td>[[Command/value:stop|stop]] [[Command/value:start|start]] </td> </tr> <tr valign="top" class="second"> <td class="cmd">[[Command/keyword:color|color]]</td> <td>[[Command/value:name|name]] </td> </tr></tablesyntax
== Description ==
It is a page type with a special layout / header & footer sections that last only temporarily. The key point is that such a page does not (have to) rely on the current page layout style, which is especially useful for title pages.
By default the page layout set up with <code>\{{cmd|setuplayout</code> }} is being reused. However, a custom page layout can be used as well. <code>\{{cmd|definemakeup</code> }} automatically uses a layout defined with <code>{{cmd|definelayout</code> }} with the same name as the makeup.
There are two different ways to switch to the defined makeups:
== Example ==
=== Example 1 ===
<texcode>
% this layout is automatically used by the “custom” makeup
\stoptext
</texcode>
=== Example 2 ===
Set the bodyfont on just the makeup page
<texcode>
\definemakeup [custom] [style={\switchtobodyfont[heros,14pt]}]
</texcode>
== See also ==
* [[Makeup]],* [[source:Layout]]* [[Standardmakeup background]] (2013)* {{src|page-mak.mkiv}}* {{cmd|source]].setuplayout}}
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Layout|setupmakeup]] [[Category:Layout]]
93

edits

Navigation menu