]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-spacing-nonstaff-lines-bottom.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-spacing-nonstaff-lines-bottom.ly
diff --git a/input/regression/page-spacing-nonstaff-lines-bottom.ly b/input/regression/page-spacing-nonstaff-lines-bottom.ly
new file mode 100644 (file)
index 0000000..0c0d9b2
--- /dev/null
@@ -0,0 +1,26 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "A non-staff line (such as @code{Lyrics}) at the
+bottom of a system gets spaced appropriately."
+}
+
+\layout {
+  ragged-right = ##t
+  \context {
+    \Lyrics
+    \override VerticalAxisGroup #'nonstaff-nonstaff-spacing #'basic-distance = #20
+  }
+}
+<<
+    \new Staff \relative c'' {
+       d2 d c4 bes a2 \break
+    }
+    \addlyrics {
+       My first Li -- ly song,
+    }
+    \addlyrics {
+       Not much can go wrong!
+    }
+>>
+