]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/voice-follower.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / voice-follower.ly
index 8f0a6b4c0f5d70094e9c9151d9e9b5a74f7cf4f1..100327638cb6b81f68e823b454cfb8512f3f6fe0 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.1.36"
+\version "2.19.21"
 
 
 \header { texidoc= "
@@ -7,19 +7,21 @@ Whenever a voice switches to another staff a line connecting the notes
 can be printed automatically. This is enabled if the property
 @code{followVoice} is set to true. "
 
-      }
-\score {
-    \notes \relative c'
-    \context PianoStaff <<
-       \set PianoStaff.followVoice = ##t
-       \context Staff = one \context Voice {
-           c1
-           \change Staff=two
-           b2 a
-       }
-       \context Staff = two {\clef bass \skip 1*2 }
-    >>
-    \paper{ 
-       raggedright = ##t 
-    }
 }
+
+\layout{ 
+  ragged-right = ##t 
+}
+
+\relative
+\context PianoStaff <<
+  \set PianoStaff.followVoice = ##t
+  \new Staff = "one" \context Voice {
+    c'1
+    \change Staff=two
+    b2 a
+  }
+  \new Staff = "two" {\clef bass \skip 1*2 }
+>>
+
+