]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-breaking-good-estimation.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-breaking-good-estimation.ly
diff --git a/input/regression/page-breaking-good-estimation.ly b/input/regression/page-breaking-good-estimation.ly
new file mode 100644 (file)
index 0000000..b479f80
--- /dev/null
@@ -0,0 +1,33 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "The page breaking algorithm can handle clefs combined
+with lyrics.  That is, the Y-extent approximations are a little more
+accurate than just using bounding boxes.  In particular, everything
+should fit on one page here."
+}
+
+#(set-default-paper-size "a6")
+
+Melody = \relative c' {
+  c2 c | c c | c c | \break
+  c2 c | c c | c c
+}
+Words = \lyricmode{
+  bla bla bla bla bla bla
+  bla bla bla bla bla bla
+}
+\book {
+  \score {
+    <<
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+      \new Staff{\Melody}
+      \addlyrics{\Words}
+    >>
+  }
+}