]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lilypond-book/texinfo-papersize-docs.tely
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / lilypond-book / texinfo-papersize-docs.tely
diff --git a/input/regression/lilypond-book/texinfo-papersize-docs.tely b/input/regression/lilypond-book/texinfo-papersize-docs.tely
new file mode 100644 (file)
index 0000000..9120bb6
--- /dev/null
@@ -0,0 +1,43 @@
+\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: en -*-
+@setfilename papersize-docs.info
+@settitle Different paper sizes for documentation
+@documentencoding UTF-8
+@documentlanguage en
+@afourpaper
+
+@node Top
+@top Different paper sizes for documentation.
+
+This is a sample of a small papersize, which is useful when you
+want to add a @code{\book@{@}} around some input.
+
+@lilypond[verbatim,papersize=a8landscape]
+\book {
+  \header {
+    title = "A scale in LilyPond"
+  }
+  \score {
+    \relative c' {
+      c4 d e f
+    }
+  }
+}
+@end lilypond
+
+Here is a different paper size, and a changed tagline.
+
+@lilypond[verbatim,quote,papersize=a8]
+\book {
+  \header {
+    title = "A scale in LilyPond"
+    tagline = "... music notation for Everyone"
+  }
+  \score {
+    \relative c' {
+      c4 d e f
+    }
+  }
+}
+@end lilypond
+
+@bye