]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtests for 1240.
authorJoe Neeman <joeneeman@gmail.com>
Mon, 25 Oct 2010 04:40:54 +0000 (21:40 -0700)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 25 Oct 2010 04:40:54 +0000 (21:40 -0700)
input/regression/page-breaking-min-distance2.ly [new file with mode: 0644]
input/regression/page-breaking-min-distance3.ly [new file with mode: 0644]

diff --git a/input/regression/page-breaking-min-distance2.ly b/input/regression/page-breaking-min-distance2.ly
new file mode 100644 (file)
index 0000000..d194f68
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.13.37"
+
+\header {
+  texidoc = "minimum-distance within a system is correctly accounted for in page breaking."
+}
+
+\layout {
+  \context {
+    \Score
+    \override VerticalAxisGroup #'next-staff-spacing = #'((space . 20) (stretchability . 0))
+  }
+}
+
+music = { c'1 \break c'1 }
+
+\book {
+  \paper {
+    paper-height = 9\cm
+  }
+
+  \score { << \new Staff \music \new Staff \music >> }
+}
+
diff --git a/input/regression/page-breaking-min-distance3.ly b/input/regression/page-breaking-min-distance3.ly
new file mode 100644 (file)
index 0000000..bb898d8
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.13.37"
+
+\header {
+  texidoc = "minimum-distance within a system is correctly accounted for in page breaking."
+}
+
+\layout {
+  \context {
+    \Score
+    \override NonMusicalPaperColumn #'line-break-system-details = #'((alignment-distances . (20)))
+  }
+}
+
+music = { c'1 \break c'1 }
+
+\book {
+  \paper {
+    paper-height = 9\cm
+  }
+
+  \score { << \new Staff \music \new Staff \music >> }
+}
+