]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-collision-cross-staff.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / beam-collision-cross-staff.ly
diff --git a/input/regression/beam-collision-cross-staff.ly b/input/regression/beam-collision-cross-staff.ly
new file mode 100644 (file)
index 0000000..04c1720
--- /dev/null
@@ -0,0 +1,26 @@
+\header {
+  texidoc = "cross staff beams work with collisions."
+}
+
+\version "2.14.0"
+
+<<
+ \new Staff = "PianoRH" s4.
+ \new Staff = "PianoLH" {
+   d''8 [b''! \change Staff = "PianoRH"  d'' ]
+ }
+>>
+
+<<
+  \new Staff = up \relative c' {
+    c8 c c c
+    c c c c
+    b' b b b
+  }
+  \new Staff = down \relative c' {
+    s8 c c \change Staff = up c
+    \change Staff = down c [ c s16 \change Staff = up a'16 s16 a16 ]
+    \stemUp
+    \change Staff = down b8 b b b \change Staff = up
+  }
+>>