]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-layout.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / page-layout.ly
index a15cf8cbb1cda70f83b5aaef9c9a0acbbf52a6b2..4eafd885a05a69da36a5f1146c3e3675461a27c7 100644 (file)
@@ -1,11 +1,18 @@
 
-\version "2.3.16"
+\version "2.19.21"
+
+
+
+\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.
+"
 
-\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 {
     title = "Title"
     subtitle = "(and (the) subtitle)"
     subsubtitle = "Sub sub title"
@@ -17,39 +24,45 @@ values for the whole paper while \paper for each \score block." }
     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
+    ragged-bottom = ##t
+    ragged-last-bottom = ##t
+    left-margin = 3\cm
+    line-width = 15\cm
     %rigthmargin = 3\cm
     interscoreline = 3\cm
-}
+
+    annotate-spacing = ##t
+
+
+
+  }
 
 
 \book {
     \score {
-        \relative c'' {
+        \relative {
             \repeat unfold 10 {
-                \repeat unfold 4 {c4}
+                \repeat unfold 4 {c''4}
             }
         }
         \header {piece = "Piece I"}
-        \paper {linewidth = 13\cm}
+        \layout {line-width = 13\cm}
     }
     \score {
-        \relative c'' {
+        \relative {
             \repeat unfold 10 {
-                \repeat unfold 4 {c4}
+                \repeat unfold 4 {c''4}
             }
         }
-        \header {piece = "Piece II"}
-        \paper {linewidth = 9\cm}
+        \header {
+         breakbefore = ##f
+         piece = "Piece II"
+       }
+        \layout {line-width = 9\cm}
     }
 }