]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/stem-cross-staff-articulation.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / stem-cross-staff-articulation.ly
diff --git a/input/regression/stem-cross-staff-articulation.ly b/input/regression/stem-cross-staff-articulation.ly
new file mode 100644 (file)
index 0000000..7513120
--- /dev/null
@@ -0,0 +1,33 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "Cross-staff stems avoid articulations.  Articulations that don't
+get in the way of stems do not cause unwanted horizontal space.
+"
+}
+
+\new GrandStaff <<
+  \new Staff = "a" { s1 }
+  \new Staff = "b" {
+    \stemDown
+    \clef bass
+    d'8^\prall^\espressivo [\change Staff="a" g'' ]
+    g'' [\change Staff="b" d'8^\prall^\espressivo ]
+    \stemUp
+    f, [\change Staff="a" b8_\prall_\espressivo ]
+    b_\prall_\espressivo [\change Staff="b" f,8 ]
+  }
+>>
+
+\new GrandStaff <<
+  \new Staff = "a" { s1 }
+  \new Staff = "b" {
+    \stemDown
+    \clef bass
+    d'8 [\change Staff="a" g'' ]
+    g'' [\change Staff="b" d'8 ]
+    \stemUp
+    f, [\change Staff="a" b8 ]
+    b [\change Staff="b" f,8 ]
+  }
+>>