]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-spacing-nonstaff-lines-header-padding.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-spacing-nonstaff-lines-header-padding.ly
diff --git a/input/regression/page-spacing-nonstaff-lines-header-padding.ly b/input/regression/page-spacing-nonstaff-lines-header-padding.ly
new file mode 100644 (file)
index 0000000..b98ec7e
--- /dev/null
@@ -0,0 +1,32 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "Padding from the header and footer is measured to the
+first non-staff line, whether or not it is spaceable."
+}
+
+#(set-default-paper-size "a6")
+
+\book {
+  \paper {
+    top-system-spacing = #'((basic-distance . 1) (padding . 10))
+    last-bottom-spacing = #'((basic-distance . 1) (padding . 10))
+    annotate-spacing = ##t
+    ragged-last-bottom = ##f
+  }
+
+  \score {
+    <<
+      \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
+      \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
+      \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
+      \new Lyrics \with { \override VerticalAxisGroup #'staff-affinity = #DOWN } \lyricmode { foo }
+      \new Staff { c'1 }
+      \new Staff { c'1 }
+      \new Lyrics \lyricmode { foo }
+      \new Lyrics \lyricmode { foo }
+      \new Lyrics \lyricmode { foo }
+      \new Lyrics \lyricmode { foo }
+    >>
+  }
+}