From f78131595ebafac25a416671e5a4b9c8b14e79b5 Mon Sep 17 00:00:00 2001 From: James Lowe Date: Fri, 25 Mar 2011 15:09:15 +0000 Subject: [PATCH] Doc: Added new option 'papersize' to Usage Added note on how to use @lilypond[papersize=xx] as defined in scm/paper.scm --- Documentation/usage/lilypond-book.itely | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/usage/lilypond-book.itely b/Documentation/usage/lilypond-book.itely index d41d70ed07..b0b97e9184 100644 --- a/Documentation/usage/lilypond-book.itely +++ b/Documentation/usage/lilypond-book.itely @@ -159,6 +159,20 @@ Larger examples can be put into a separate file, and introduced with @lilypondfile[quote,noindent]{screech-boink.ly} +If a @code{tagline} is required, either default or custom, then the +entire snippet must be enclosed in a @code{\book @{ @}} construct. + +@lilypond[papersize=a8,verbatim] +\book{ + \header{ + title = "A scale in LilyPond" + } + + \relative c' { + c d e f g a b c + } +} +@end lilypond @page @@ -601,6 +615,14 @@ If no @code{line-width} option is given, @command{lilypond-book} tries to guess a default for @code{lilypond} environments which don't use the @code{ragged-right} option. +@item papersize=@var{string} +Where @var{string} is a paper size defined in @file{scm/paper.scm} i.e. +@code{a5}, @code{quarto}, @code{11x17} etc. + +Values not defined in @file{scm/paper.scm} will be ignored, a warning +will be posted and the snippet will be printed using the default +@code{a4} size. + @item notime Do not print the time signature, and turns off the timing (time signature, bar lines) in the score. -- 2.39.2