]> git.donarmstrong.com Git - lilypond.git/commitdiff
Added new Pagesize definition to paper.scm
authorJames Lowe <james.lowe@datacore.com>
Thu, 7 Apr 2011 11:29:02 +0000 (12:29 +0100)
committerJames Lowe <james.lowe@datacore.com>
Sun, 10 Apr 2011 11:36:24 +0000 (12:36 +0100)
Added 'c9landscape' to allow a very small @lilypond to be defined for examples
that need to show footers, taglines and the like without having to

1. Define the papersize within the actual @lilypond; and so make the example more
complicated that it need be for users.

2. Avoid unnecessary white space between the content and footers/taglines etc.

Chosen size is named c9landscape because the new papersize=x option for
the @lilypond [] construct cannot take spaces or use the standard 'landscape
option. Keeping a standard ISO size means we don't have 'custom' sizes in the
scm file.

input/regression/lilypond-book/papersize-docs.tely
scm/paper.scm

index 12c3dd9bac11811290299059557057dc363b39b9..d274ac02011c263dda4ecf05d2fa580c160f8108 100644 (file)
@@ -11,8 +11,7 @@
 This is a sample of a small papersize, which is useful when you
 want to add a @code{\book@{@}} around some input.
 
-@c @lilypond[verbatim,papersize=c9landscape]
-@lilypond[verbatim,quote,papersize=c9]
+@lilypond[verbatim,papersize=c9landscape]
 \book {
   \header {
     title = "A scale in LilyPond"
index d00be0d190ef5ec0ce50fa3aa3db1661b86463e5..fb753ba0cc5e42579f656253862c58640ecc73e2 100644 (file)
     ("pa10" . (cons (* 26 mm) (* 35 mm)))
     ;; F4 used in southeast Asia and Australia
     ("f4" . (cons (* 210 mm) (* 330 mm)))
+    ;; Used for very small @lilypond examples in the Documentation
+    ;; based on c9 envelope size but landscape not portrait
+    ("c9landscape" . (cons (* 57 mm) (* 40 mm)))
     ))
 
 ;; todo: take dimension arguments.