]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tuplet-bracket-cross-staff.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / tuplet-bracket-cross-staff.ly
index 98abf99ccec54fdf68e45de703785352eceff4ca..7f864fa85d34c54897e44321198c6d24f79b2973 100644 (file)
@@ -1,21 +1,35 @@
-\version "2.11.16"
-\paper { ragged-right = ##t }
+\version "2.17.6"
+
+\paper {
+  ragged-right = ##t
+}
+
+\header {
+  texidoc = "Cross-staff tuplets are drawn correctly,
+even across multiple staves."
+}
+
 \layout {
   \context {
     \Score
-    \override TupletBracket #'bracket-visibility = ##t
+    \override TupletBracket.bracket-visibility = ##t
   }
 }
 
 voice = {
-  \times 2/3 { b8 \change Staff=RH c' d' }
-  \times 2/3 { d' c' \change Staff=LH b }
+  \times 2/3 { b8 \change Staff=I c' d' }
+  \times 2/3 { d' c' \change Staff=II b }
+  \times 2/3 { \change Staff=III c,
+               \change Staff=II b
+               \change Staff=I c' }
+  \times 2/3 { c'[ \change Staff=II b] c }
 }
 
 \score {
   \new PianoStaff
   <<
-    \new Staff = "RH" { s4 s4 s4 }
-    \new Staff = "LH" { \clef bass \voice }
+    \new Staff = "I" { s1 }
+    \new Staff = "II" { \clef bass \voice }
+    \new Staff = "III" { \clef bass s1 }
   >>
 }