X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fdots.ly;h=2512870dcdb2733b996c5dca28285d4d8650a8e9;hb=a1344e55b5c00f84fd0b07c53a175bf2855d00b1;hp=c374b4b2989a5c42b22842c3750c10690fbdd574;hpb=e9bd265943d37689b1a6892217cb6f67bbe69f73;p=lilypond.git diff --git a/input/regression/dots.ly b/input/regression/dots.ly index c374b4b298..2512870dcd 100644 --- a/input/regression/dots.ly +++ b/input/regression/dots.ly @@ -1,33 +1,40 @@ -#(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.10.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 + " } -\score { - \context Voice \notes\relative c'' { - \time 6/8 - d4. g,, - <>4. <> - <> <> - - - \context Staff < - \context Voice = VA { \stemUp f'' <> r4. } - \context Voice = VB { \stemDown b, <> r4. } - > - - - } - \paper { } - \midi { } +\context Voice \relative c'' { + \time 6/8 + d4. g,, + \stemDown + 4. + + + + << + { f r4. }\\ + { b, r4. } + >> + + }