]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-layout.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / regression / page-layout.ly
index b9bf1262f63c3bf7e91b5f1cfcf79b5bdedd9a0a..f999a0750adb06b3bb2b7b1e5de2337d2ab24926 100644 (file)
@@ -1,12 +1,18 @@
 
-\version "2.3.8"
+\version "2.7.39"
 
-\header{
-texidoc="This shows how different settings on \bookpaper modify the general page layout
-"
-}
 
- \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"
@@ -18,17 +24,17 @@ texidoc="This shows how different settings on \bookpaper modify the general page
     instrument = "Instrument"
   }
 
-\bookpaper {
-    %hsize = 2\cm
-    %vsize = 2\cm
-    topmargin = 2\cm
-    bottommargin = 2\cm
-    %headsep = 7\cm
-    %footsep = 7\cm
-    raggedbottom = ##t
-    raggedlastbottom = ##t
-    leftmargin = 3\cm
-    linewidth = 15\cm
+\paper {
+    %paper-width = 2\cm
+    %paper-height = 2\cm
+    top-margin = 2\cm
+    bottom-margin = 2\cm
+    %heap-separation = 7\cm
+    %foot-separation = 7\cm
+    ragged-bottom = ##t
+    ragged-last-bottom = ##t
+    left-margin = 3\cm
+    line-width = 15\cm
     %rigthmargin = 3\cm
     interscoreline = 3\cm
 }
@@ -36,19 +42,24 @@ texidoc="This shows how different settings on \bookpaper modify the general page
 
 \book {
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
         }
         \header {piece = "Piece I"}
+        \layout {line-width = 13\cm}
     }
     \score {
-        \notes {
+        \relative c'' {
             \repeat unfold 10 {
                 \repeat unfold 4 {c4}
             }
         }
-        \header {piece = "Piece II"}
+        \header {
+         breakbefore = ##f
+         piece = "Piece II"
+       }
+        \layout {line-width = 9\cm}
     }
-}
\ No newline at end of file
+}