]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-heads.ly
* lily/book.cc:
[lilypond.git] / input / regression / collision-heads.ly
index 04ef2f7326b83e61f51aba2b113094115d23a1fe..1196af6019b475a55280028284be446224156922 100644 (file)
@@ -1,29 +1,31 @@
+\version "2.4.0"
 \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.
 "
     
 }
-\score { \notes \context Staff\relative c''<
-\context Voice = VA {
-    \voiceOne
-    c2 c8 c4.
-    
-    \property Staff.NoteCollision \override #'merge-differently-headed = ##t
-    c2
-    c4. c8
-    c2
-}
-\context Voice = VB {
-    \voiceTwo
-    c8 c4.
-    c2
-    c8 c4.
-    c2
-    c4
+
+\layout { raggedright= ##t }
+
+
+\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
+       }
+    >>
 }
-    >
-        }