]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/dots.ly
*** empty log message ***
[lilypond.git] / input / regression / dots.ly
index c374b4b2989a5c42b22842c3750c10690fbdd574..42be6834222ddfaa172efa1722afc3c859b5a5bb 100644 (file)
@@ -1,12 +1,22 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
-\header{
-texidoc="
-Noteheads can have dots, and rests can too.  Augmentation dots should
-never be printed on a staff line, but rather be shifted vertically. They
-should go up, but in case of multiple parts, the down stems have down
-shifted dots.  (Wanske p. 186) In case of chords, all dots should be in
-a column.  The dots go along as rests are shifted to avoid collisions.
+\version "2.2.0" \header{
+
+
+    texidoc=" Noteheads can have dots, and rests too.  
+    Augmentation dots should never be printed on a staff line,
+but rather be shifted vertically. They should go up, but in case of
+multiple parts, the down stems have down shifted dots.  In case of
+chords, all dots should be in a column.  The dots follow the shift
+of rests when avoiding collisions.
+
+The priorities to print the dots are (ranked in importance):
+
+@itemize @bullet
+@item keeping dots off staff lines,
+@item keeping dots close to their  note heads,
+@item moving dots in the direction specified by the voice,
+@item moving dots up.
+@end itemize
+
 "
 }
 
@@ -16,14 +26,15 @@ a column.  The dots go along as rests are shifted to avoid collisions.
   \context Voice \notes\relative c'' {
     \time 6/8
        d4. g,,
-       <<b'' c d e>>4.  <<f g a b>>
-       <<g b d>> <<c, g' d' a'>>
+    \stemDown
+    <b'' c d e>4.  <f g a b>
+    <f a c> <e a c> <b f' c' g'>
        
        
-       \context Staff <
-               \context Voice = VA {  \stemUp   f''  <<b c>> r4.  }
-               \context Voice = VB {  \stemDown b, <<a b>> r4. }
-       >
+    <<
+       { f  <b c> r4.  }\\
+       { b, <a b> r4. }
+    >>
        
        
   }