]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/collision-dots-move.ly
abc2ly: Also ignore whitespace at begin of lyrics lines
[lilypond.git] / input / regression / collision-dots-move.ly
index c7e1dade2140288582663458becdc8fe85a4421c..71fbdabb608fced5c564a9239365e0bd8134bff7 100644 (file)
@@ -1,17 +1,25 @@
-\version "2.3.22"
+\version "2.14.0"
 \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."
 
 }
 
-\layout { raggedright = ##t }
+\layout { ragged-right = ##t }
 
-\score {
-   \relative c {
-    \key d \minor
-    \clef bass
-    << <cis a' cis>4 \\ { g'8. bes16} >>
-  }
+\relative c {
+  \clef bass
+  \override Staff.NoteCollision #'prefer-dotted-right = ##t
+  s1*0^"prefer-dotted-right = #t"
+  << <b g' >4 \\ { 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
+  s1*0^"prefer-dotted-right = #f"
+  << <b g' >4 \\ { c8. d16 } >>
+  << <b g' >4 \\ { d8. d16 } >>
+  << <b g' >4 \\ { f'8. d16 } >>
+  << <c a' >4 \\ { g'8. d16 } >>
 }