Changes

Jump to navigation Jump to search
no edit summary
{{Reference
|name=XXXdefinepageshift
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>definepageshift</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\XXXdefinepageshift<!-- --><span class="first">{...}[''name'']</span><!-- --><span class="second">{...}[''direction'']</span><!-- --><span class="third">[''offsets'']</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">{...}[''name'']</td>
<td><i>text</i> </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">{...}[''direction'']</td> <td>horizontal vertical</td> </tr> <tr valign="top" class="third"> <itd class="cmd">text[''offsets'']</itd> <td>''dimension'', ''dimension'', ''dimension'', ''...''</td>
</tr>
== Description ==
Define a list of offsets for use by {{cmd|setuppageshift}}. If the number of pages in the document exceeds the number of offsets in the list, the offsets will be recycled &mdash; for example, the first offset in a list of four will be applied to pages 1, 5, 9, et cetera.
== Example ==
<texcode>
\setuppapersize[A5][A4, landscape]
\setuparranging[2*2*4] % 2 sides * 2 pages per side * 4 sheets
\definepageshift[Hor][horizontal]
[0.25mm, % page 1, sheet 1 recto
0.25mm, % p15
-0.25mm] % p16
\definepageshift[Vert][vertical][-1cm, 0cm] % move every odd page 1 cm down\setuppageshift[paper][Hor] [Vert] % use the list we just defined
</texcode>
== See also ==
* {{cmd|setuparranging}} because pageshifting is usually combined with printing multiple pages per sheet* {{cmd|setuppageshift}} to use the pageshift defined with this command
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Layout|XXXdefinepageshift]]

Navigation menu