From edb1e2e8ea04d815156d2e3c3ccdacb977c6c804 Mon Sep 17 00:00:00 2001 From: kroger Date: Sat, 24 Jul 2004 22:11:17 +0000 Subject: [PATCH] More about the options of \bookpaper. --- Documentation/user/changing-defaults.itely | 36 +++++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/Documentation/user/changing-defaults.itely b/Documentation/user/changing-defaults.itely index 38813a3e32..1d604d9f23 100644 --- a/Documentation/user/changing-defaults.itely +++ b/Documentation/user/changing-defaults.itely @@ -2137,7 +2137,7 @@ default format is created, and it may be used as a template for different styles. - +@cindex \bookpaper @cindex header @cindex footer @cindex page layout @@ -2195,19 +2195,20 @@ footers to each page. The default layout responds to the following settings in the @code{\bookpaper} block +@cindex \bookpaper @table @code @item hsize The width of the page @item vsize The height of the page -@item top-margin +@item topmargin (top-margin) Margin between header and top of the page -@item bottom-margin +@item bottommargin (bottom-margin) Margin between footer and bottom of the page -@item head-sep +@item headsep (head-sep) Distance between top-most music system and the page header -@item foot-sep +@item footsep (foot-sep) Distance between bottom-most music system and the page footer @item raggedbottom If set to true, systems will not be spread across the page. @@ -2215,6 +2216,31 @@ The default layout responds to the following settings in the If set to true, systems will not be spread to fill the last page. @end table +@example + \bookpaper@{ + hsize = 2\cm + topmargin = 3\cm + bottommargin = 3\cm + raggedlastbottom = ##t + @} +@end example + +You can also define these values in scheme. Please note that the scheme +expressions may have a dash, like @code{foot-sep}, but not LilyPond +expressions, like @code{footsep}. + +@example + \bookpaper@{ + #(define bottom-margin (* 2 cm)) + @} +@end example + +@c is this explanations really necessary? +In that case @code{mm}, @code{in}, @code{pt} and @code{cm} are variables +defined in @file{book-paper-defaults.ly} with values in +millimeters. That's why the value has to be multiplied in the example +above. + The default page header puts the page number and the @code{instrument} field from the @code{\header} block on a line. -- 2.39.5