]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/dynamics-context-textspan.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / dynamics-context-textspan.ly
diff --git a/input/regression/dynamics-context-textspan.ly b/input/regression/dynamics-context-textspan.ly
new file mode 100644 (file)
index 0000000..1b7faf0
--- /dev/null
@@ -0,0 +1,19 @@
+\version "2.14.0"
+
+\header {
+  texidoc = "Text spanners work in the @code{Dynamics} context."
+}
+
+<<
+  \new Staff \relative c' {
+    c1 | c
+  }
+  \new Dynamics {
+    \override TextSpanner #'(bound-details left text) = #"rit."
+    s1\startTextSpan
+    s1\stopTextSpan
+  }
+  \new Staff \relative c' {
+    c1 | c
+  }
+>>