]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-cross-staff.ly
Merge commit 'origin' into includes
[lilypond.git] / input / regression / beam-cross-staff.ly
index 07b9fea3efc8bbed7b54d8fd09b6bcda89acc173..0b711c7453f0f103f6b1d5af8f9a9f6f6216d36e 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.28"
+\version "2.12.0"
 \header{
 texidoc="
 Beams can be typeset over fixed distance aligned staves, beam
@@ -7,28 +7,27 @@ beautification does not really work, but knees do. Beams should be
 behave well, wherever the switching point is.
 "
 }
-\score{
-       \context PianoStaff <<
-       \context Staff=one \notes\relative c'{
-               \stemUp  c8[ c \change Staff=two \stemUp c c]
-                c[ c c c]
-               \change Staff=one
-               \stemDown  c8[ c \change Staff=two \stemUp c c]
-               r2
-               \stemDown  c8[ c \change Staff=one \stemDown c c]
-               r2
-               \change Staff=two
-               \stemUp  c8[ c \change Staff=one \stemDown c c]
-               r2
-       }
-       \context Staff=two \notes\relative c'{
-               \clef bass
-               s1
-               s1
-               s1
-               s1
-       }
-       >>
-}
+
+\context PianoStaff <<
+  \new Staff = "one" \relative c'{
+    \stemUp  c8[ c \change Staff=two \stemUp c c]
+    c[ c c c]
+    \change Staff=one
+    \stemDown  c8[ c \change Staff=two \stemUp c c]
+    r2
+    \stemDown  c8[ c \change Staff=one \stemDown c c]
+    r2
+    \change Staff=two
+    \stemUp  c8[ c \change Staff=one \stemDown c c]
+    r2
+  }
+  \new Staff = "two" \relative c'{
+    \clef bass
+    s1
+    s1
+    s1
+    s1
+  }
+>>