summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorPhil Holmes <mail@philholmes.net>2012-07-15 14:10:22 +0100
committerPhil Holmes <mail@philholmes.net>2012-07-22 11:04:25 +0100
commit26a04c1f923f384d3a36c571bb3ebcdb1aabda9b (patch)
tree637a224ab75336c9b8ff74345ea127cd01ab57f6 /input
parente7ec3a69c9a4d25889d92539140ed0b2bbe8f700 (diff)
Adds support for cross staff stems final
Diffstat (limited to 'input')
-rw-r--r--input/regression/cross-staff-stems.ly30
1 files changed, 30 insertions, 0 deletions
diff --git a/input/regression/cross-staff-stems.ly b/input/regression/cross-staff-stems.ly
new file mode 100644
index 0000000000..ae046cacbf
--- /dev/null
+++ b/input/regression/cross-staff-stems.ly
@@ -0,0 +1,30 @@
+\version "2.15.42"
+
+\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
+ }
+ >>
+}