]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add a regression test for cross-staff fingerings.
authorJoe Neeman <joeneeman@gmail.com>
Sat, 26 Apr 2008 00:07:32 +0000 (10:07 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Sat, 26 Apr 2008 00:07:32 +0000 (10:07 +1000)
input/regression/fingering-cross-staff.ly [new file with mode: 0644]

diff --git a/input/regression/fingering-cross-staff.ly b/input/regression/fingering-cross-staff.ly
new file mode 100644 (file)
index 0000000..1fa30c1
--- /dev/null
@@ -0,0 +1,25 @@
+\version "2.11.44"
+
+\header {
+  texidoc = "Fingerings work correctly with cross-staff beams."
+}
+
+music = \relative c {
+  \change Staff = "down"
+  c8 e g-1
+  \change Staff = "up"
+  e'-2 g-3 c-5
+  \change Staff = "down"
+  e,-3[ g,-1]
+}
+
+\score {
+  \new PianoStaff  <<
+    \new Staff="up" \new Voice { 
+      \stemUp \music }
+    \new Staff="down" \new Voice { 
+      \clef bass  \stemDown 
+      \override Fingering #'direction = #down 
+      \transpose c c, \music }
+  >>
+}
\ No newline at end of file