]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-dots-move.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / collision-dots-move.ly
index d04b0f7c9b9fabc26f59f88f001251cddcaab706..801e404063e3bdbadc0c5c64901f6196f33fba3b 100644 (file)
@@ -1,7 +1,7 @@
-\version "2.14.0"
+\version "2.16.0"
 \header {
-    
-    texidoc = "If dotted note heads must remain on the left side,  
+
+    texidoc = "If dotted note heads must remain on the left side,
 collision resolution moves the dots to the right."
 
 }
@@ -9,7 +9,15 @@ collision resolution moves the dots to the right."
 \layout { ragged-right = ##t }
 
 \relative c {
-  \key d \minor
   \clef bass
-  << <cis a' cis>4 \\ { g'8. bes16} >>
+  \override Staff.NoteCollision #'prefer-dotted-right = ##t
+  << <b g' >4 ^"prefer-dotted-right = #t" \\ { c8. d16 } >>
+  << <b g' >4 \\ { d8. d16 } >>
+  << <b g' >4 \\ { f'8. d16 } >>
+  << <c a' >4 \\ { g'8. d16 } >>
+  \override Staff.NoteCollision #'prefer-dotted-right = ##f
+  << <b g' >4 ^"prefer-dotted-right = #f" \\ { c8. d16 } >>
+  << <b g' >4 \\ { d8. d16 } >>
+  << <b g' >4 \\ { f'8. d16 } >>
+  << <c a' >4 \\ { g'8. d16 } >>
 }