]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-spacing-nonstaff-lines-top.ly
resolve merge
[lilypond.git] / input / regression / page-spacing-nonstaff-lines-top.ly
diff --git a/input/regression/page-spacing-nonstaff-lines-top.ly b/input/regression/page-spacing-nonstaff-lines-top.ly
new file mode 100644 (file)
index 0000000..1916cab
--- /dev/null
@@ -0,0 +1,28 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "A non-staff line (such as @code{Lyrics}) at the top
+of a system is spaced appropriately."
+}
+
+\layout {
+  ragged-right = ##t
+  \context {
+    \Lyrics
+    \override VerticalAxisGroup
+      #'nonstaff-nonstaff-spacing #'minimum-distance = #20
+    \override VerticalAxisGroup #'staff-affinity = #DOWN
+  }
+}
+<<
+  \new Lyrics \lyricmode {
+    My2 first Li4 -- ly song,
+  }
+  \new Lyrics \lyricmode {
+    Not2 much can4 go wrong!
+  }
+  \context Voice = "voice" \relative c'' {
+    d2 d c4 bes a2
+  }
+>>
+