]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/page-spacing-nonstaff-lines-unrelated.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-spacing-nonstaff-lines-unrelated.ly
diff --git a/input/regression/page-spacing-nonstaff-lines-unrelated.ly b/input/regression/page-spacing-nonstaff-lines-unrelated.ly
new file mode 100644 (file)
index 0000000..a385a5e
--- /dev/null
@@ -0,0 +1,16 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "Non-staff lines (such as @code{Lyrics}) can specify
+their @code{padding} or @code{minimum-distance} to the staff for
+which they don't have affinity."
+}
+
+<<
+  \new Staff { c'1 }
+  \new Lyrics \with {
+    \override VerticalAxisGroup
+      #'nonstaff-unrelatedstaff-spacing #'padding = #'20
+  } \lyricmode { foo }
+  \new Staff { c'1 }
+>>