]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-cross-staff-auto-knee.ly
Doc: CSS: Add a maximum width for the sidebar in the manuals
[lilypond.git] / input / regression / beam-cross-staff-auto-knee.ly
index 25025d315c1c5248c25203303d9916f238e74e0e..5326f57b7949d0c73376338a281f6c10dae75650 100644 (file)
@@ -1,26 +1,25 @@
 
-\version "2.6.0"
+\version "2.16.0"
 
 \header{
 
-    texidoc="Automatic cross-staff knees work also (here they were
+  texidoc="Automatic cross-staff knees work also (here they were
 produced with explicit staff switches)."
 
-     }
+}
 
-\score {
-   \context PianoStaff <<
-    \context Staff = "up" \relative c''{
-      b8[ \change Staff="down" d,, ]
-      c[ \change Staff="up" c'' ]
-      b,[ \change Staff="down" d^"no knee" ]
-    }
-    \context Staff = "down" {
-      \clef bass 
-      s2.
-    }
-  >>
-  \layout{
-    raggedright = ##t
-  }
+\layout{
+  ragged-right = ##t
 }
+
+\context PianoStaff <<
+  \new Staff = "up" \relative c''{
+    b8[ \change Staff="down" d,, ]
+    c[ \change Staff="up" c'' ]
+    b,[ \change Staff="down" d^"no knee" ]
+  }
+  \new Staff = "down" {
+    \clef bass 
+    s2.
+  }
+>>