]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-layout.ly
* lily/parser.yy (bass_number),
[lilypond.git] / input / regression / page-layout.ly
index de332bcd07d4b1b47165d0473dfe2583a906fb8d..1fd4c9a4ff37165f2cc74ee15df29eba252a9a1c 100644 (file)
@@ -1,11 +1,18 @@
 
-\version "2.3.8"
+\version "2.4.0"
 
-\header{ texidoc = "This shows how different settings on \bookpaper
-modify the general page layout. Basically \bookpaper will set the
-values for the whole paper while \paper for each \score block." }
 
- \header {
+    
+\header {
+
+     texidoc = "This shows how different settings on \paper modify the
+general page layout. Basically \paper will set the values for the
+whole paper while \layout for each \score block.
+
+This file is best viewed outside the collated files document.
+" 
+
     title = "Title"
     subtitle = "(and (the) subtitle)"
     subsubtitle = "Sub sub title"
@@ -17,7 +24,7 @@ values for the whole paper while \paper for each \score block." }
     instrument = "Instrument"
   }
 
-\bookpaper {
+\paper {
     %hsize = 2\cm
     %vsize = 2\cm
     topmargin = 2\cm
@@ -35,21 +42,24 @@ values for the whole paper while \paper for each \score block." }
 
 \book {
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
         }
         \header {piece = "Piece I"}
-        \paper {linewidth = 13\cm}
+        \layout {linewidth = 13\cm}
     }
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
         }
-        \header {piece = "Piece II"}
-        \paper {linewidth = 9\cm}
+        \header {
+         breakbefore = ##f
+         piece = "Piece II"
+       }
+        \layout {linewidth = 9\cm}
     }
-}
\ No newline at end of file
+}