X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mup/blobdiff_plain/cdb3c0882392596f814cf939cbfbd38adc6f2bfe..ddf6330b56bcfb657e0186b24b9b1422c51d3424:/mup/docs/uguide/oddeven.html diff --git a/mup/docs/uguide/oddeven.html b/mup/docs/uguide/oddeven.html new file mode 100644 index 0000000..32114bb --- /dev/null +++ b/mup/docs/uguide/oddeven.html @@ -0,0 +1,62 @@ + +
+ <-- previous page + + Table of Contents next page --> +
+ ++Sometimes you may want to make margins different for odd and even pages, +for example, if you want to put music in a ringed binder, and thus want to +offset the printing on the pages to avoid the holes in the paper. +While you can't do this directly, you can get the desired effect by using +appropriate macros, and then printing the odd and even pages in two passes. +
+
+In the Mup input file, put something like this:
+
+score + // if the WIDELEFT macro is set, + // make the left margin extra wide, + // otherwise if WIDERIGHT is set, + // make the right margin extra wide, + // otherwise make them equal. + ifdef WIDELEFT + leftmargin=1 + rightmargin=0.5 + else ifdef WIDERIGHT + leftmargin=0.5 + rightmargin=1 + else + leftmargin=0.75 + rightmargin=0.75 + endif endif +
+Then when printing, print in two passes. First print the odd pages:
+
+mupprnt -oodd -DWIDELEFT file.mup +
+mupprnt -oeven -DWIDERIGHT file.mup +
+This idea should work as long as the sum of the left and right margins are +equal between the WIDELEFT and WIDERIGHT parts. Otherwise you may get +different numbers of measures on each page in the two runs, and you'll +end up missing or repeating measures. +
+