chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / uguide / oddeven.html
CommitLineData
69695f33
MW
1<HTML>
2<HEAD><TITLE>
3Different margins for odd/even pages
4</TITLE></HEAD>
5<BODY>
6<P>
7&nbsp;&nbsp;&nbsp;<A HREF="mixtsig.html">&lt;-- previous page</A>
8
9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="tempochg.html">next page --&gt;</A>
10</P>
11
12<H2>
13Different margins for odd/even pages
14</H2>
15<P>
16Sometimes you may want to make margins different for odd and even pages,
17for example, if you want to put music in a ringed binder, and thus want to
18offset the printing on the pages to avoid the holes in the paper.
19While you can't do this directly, you can get the desired effect by using
20appropriate macros, and then printing the odd and even pages in two passes.
21</P>
22<P>
23In the Mup input file, put something like this:
24<BR><PRE>
25score
26 // if the WIDELEFT macro is set,
27 // make the left margin extra wide,
28 // otherwise if WIDERIGHT is set,
29 // make the right margin extra wide,
30 // otherwise make them equal.
31 ifdef WIDELEFT
32 leftmargin=1
33 rightmargin=0.5
34 else ifdef WIDERIGHT
35 leftmargin=0.5
36 rightmargin=1
37 else
38 leftmargin=0.75
39 rightmargin=0.75
40 endif endif
41</PRE><BR>
42</P>
43<P>
44Then when printing, print in two passes. First print the odd pages:
45<BR><PRE>
46mupprnt -oodd -DWIDELEFT file.mup
47</PRE><BR>
48Then turn the paper over and print the even pages:
49<BR><PRE>
50mupprnt -oeven -DWIDERIGHT file.mup
51</PRE><BR>
52</P>
53<P>
54This idea should work as long as the sum of the left and right margins are
55equal between the WIDELEFT and WIDERIGHT parts. Otherwise you may get
56different numbers of measures on each page in the two runs, and you'll
57end up missing or repeating measures.
58</P>
59<HR><P>
60&nbsp;&nbsp;&nbsp;<A HREF="mixtsig.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="tempochg.html">next page --&gt;</A>
61</P>
62</BODY></HTML>