]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-dots-move.ly
Build: Clean up lilypond-book includes (issue 3559).
[lilypond.git] / input / regression / collision-dots-move.ly
index e6848718111d2a60efab73f2f3baf8471c4e7212..38f8d4144c1446c5cfd3464bf73b81fa175489ce 100644 (file)
@@ -1,7 +1,7 @@
-\version "2.12.0"
+\version "2.17.6"
 \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 } >>
 }