]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-multiple-cross-staff.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / beam-multiple-cross-staff.ly
index c098db41f57f69509dd092c03503c4e300f587a8..861fbd0bca57bb87510361c30bb68d25d2d67507 100644 (file)
@@ -1,30 +1,32 @@
-\version "2.1.36"
+\version "2.12.0"
 \header {
 
-    texidoc = "Kneed beams (often happens with cross-staff beams)
+  texidoc = "Kneed beams (often happens with cross-staff beams)
 should look good when there are multiple beams: all the beams should
 go on continuously at the staff change. Stems in both staves reach up
 to the last beam.
 "
 }
 
-\score { \notes
-        \context PianoStaff \relative c' <<
-            \context Staff = SA {
-                \stemDown
-                 c8[ c16 \change Staff = SB \stemUp c16 ]
-                \stemBoth
-                 f[ g \change Staff = SA a c] 
-                              }
-            \context Staff = SB \relative c' {
-\clef bass
-                 b8[ b16 \stemUp b,,16 ]
+\layout {
+  ragged-right= ##t
+}
+
+\context PianoStaff \relative c' <<
+  \new Staff = SA {
+    \stemDown
+    c8[ c16 \change Staff = SB \stemUp c16 ]
+    \stemNeutral
+    f[ g \change Staff = SA a c] 
+  }
+  \new Staff = SB \relative c' {
+    \clef bass
+    b8[ b16 \stemUp b,,16 ]
+
+    g'4\rest
+    b,8[ b16 \stemDown b''16 b ]
+  }         
+  
+>>
 
-                g'4\rest
-                 b,8[ b16 \stemDown b''16 b ]
-            }       
-            
-            >>
-    \paper { raggedright= ##t }
 
-}