]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-multiple-cross-staff.ly
Doc-es: various updates.
[lilypond.git] / input / regression / beam-multiple-cross-staff.ly
index fbc5a4d54b9fc5c88ce9e78aeef5ee4fd3291032..ba65677e90e33fac4675a206b3c278e86acd7743 100644 (file)
@@ -1,30 +1,32 @@
-\version "2.3.16"
+\version "2.19.21"
 \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 { 
-        \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 {
+    \voiceTwo
+    c8[ c16 \change Staff = SB \voiceOne c16 ]
+    \oneVoice
+    f[ g \change Staff = SA a c] 
+  }
+  \new Staff = SB \relative {
+    \clef bass
+    b8[ b16 \voiceOne b,,16 ]
+
+    g'4\rest
+    b,8[ b16 \voiceTwo b''16 b ]
+  }
+  
+>>
 
-                g'4\rest
-                 b,8[ b16 \stemDown b''16 b ]
-            }       
-            
-            >>
-    \paper { raggedright= ##t }
 
-}