]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/cross-staff-stems.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / cross-staff-stems.ly
diff --git a/input/regression/cross-staff-stems.ly b/input/regression/cross-staff-stems.ly
new file mode 100644 (file)
index 0000000..5db11f7
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.16.0"
+
+\header {
+
+    texidoc = "Test for cross-staff stems.  The test produces a
+piano staff with cross-staff connected crochet, semi-quaver,
+dotted quaver (beamed with the semi-quaver) and finally a quaver.
+All stems should connect, showing correct spacing and
+stem length.  The lower connected notes should have no flags." }
+
+\layout {
+  \context {
+    \PianoStaff
+    \consists #Span_stem_engraver
+  }
+}
+
+{
+  \new PianoStaff <<
+    \new Staff {
+      <b d'>4 r d'16\> e'8. g8 r\!
+    }
+   \new Staff {
+     \clef bass
+      \voiceOne
+      \autoBeamOff
+      \crossStaff { <e g>4 e, g16 a8. c8} d
+    }
+  >>
+}