]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-dots-move.ly
Release: bump Welcome versions.
[lilypond.git] / input / regression / collision-dots-move.ly
index 4a6719ffacc61aeecfa77d71425dd937bfa01b4c..c0d28c0bafc3977f227afb2a79a74d4896383707 100644 (file)
@@ -1,17 +1,23 @@
-\version "2.3.4"
+\version "2.19.21"
 \header {
-    
-    texidoc = "If collision resolution finds dotted note head must
-       remain on left hand side, move dots to the right."
+
+    texidoc = "If dotted note heads must remain on the left side,
+collision resolution moves the dots to the right."
 
 }
 
-\paper { raggedright = ##t }
+\layout { ragged-right = ##t }
 
-\score {
-   \relative c {
-    \key d \minor
-    \clef bass
-    << <cis a' cis>4 \\ { g'8. bes16} >>
-  }
+\relative {
+  \clef bass
+  \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 } >>
 }