]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/dynamics-outside-staff-priority.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / dynamics-outside-staff-priority.ly
diff --git a/input/regression/dynamics-outside-staff-priority.ly b/input/regression/dynamics-outside-staff-priority.ly
new file mode 100644 (file)
index 0000000..a2557d5
--- /dev/null
@@ -0,0 +1,18 @@
+\version "2.17.16"
+
+\header {
+  texidoc = "@code{DynamicText}, @code{DynamicLineSpanner}, and
+@code{Hairpin} do not have @code{outside-staff-priority} in @code{Dynamics}
+contexts. This allows grobs with @code{outside-staff-priority} set
+to be positioned above and below them.
+"
+}
+
+<<
+  \new Staff = "Test" {
+    \tempo "Andante" c'1
+  }
+  \new Dynamics \with { alignAboveContext = "Test" } {
+    s1\f
+  }
+>>