]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-heads.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / regression / collision-heads.ly
index 4dc394000afcd1a52f3dfeca727cf4b024177574..870213c4a1c5369e0869225bf6f6b8eace5695bc 100644 (file)
@@ -1,34 +1,31 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+\version "2.3.4"
 \header {
     texidoc =
 
-    "If @code{merge-differently-headed}, then
+    "If @code{merge-differently-headed} is enabled, then
 open note heads may be merged with black noteheads, but only
 if the black note heads are from 8th or shorter notes.
 "
     
 }
-    \paper { raggedright= ##t }
 
+\paper { raggedright= ##t }
 
-\score { \notes \context Staff\relative c''<
-\context Voice = VA {
-    \voiceOne
-    c2 c8 c4.
-    
-    \property Staff.NoteCollision \override #'merge-differently-headed = ##t
-    c2
-    c8 c4.
-    c2
-}
-\context Voice = VB {
-    \voiceTwo
-    c8 c4.
-    c2
-    c8 c4.
-    c2
-    c4
+
+\score {
+    \context Staff  \relative c'' <<
+       {
+           c2 c8 c4.
+           
+           \override Staff.NoteCollision  #'merge-differently-headed = ##t
+           c2 c8 c4.
+           c2
+       }\\
+       {
+           c8 c4. c2
+           
+           c8 c4. c2
+           c4
+       }
+    >>
 }
-    >
-        }