]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/dynamics-avoid-cross-staff-stem.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / dynamics-avoid-cross-staff-stem.ly
diff --git a/input/regression/dynamics-avoid-cross-staff-stem.ly b/input/regression/dynamics-avoid-cross-staff-stem.ly
new file mode 100644 (file)
index 0000000..e0f4a73
--- /dev/null
@@ -0,0 +1,16 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "LilyPond automatically shifts dynamics that collide with
+cross-staff stems when manual beams are used."
+}
+
+\new GrandStaff <<
+  \new Staff = "PnRH" {
+    \relative g {
+      \stemDown gis8 \p [ \change Staff = "PnLH" \stemUp a, \fff ]
+      \change Staff = "PnRH" r4
+    }
+  }
+  \new Staff = "PnLH" { \clef "F" { s4 r4 } }
+>>