X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ftie-accidental.ly;h=2f1ec2421845ac0a1057c6981f1ae781b2debdd6;hb=1286ff466cd2da763a5f446312d45a9a396001c2;hp=9e5de4fef9ac6b4bb18a33dc49dfcca8d9abfc6b;hpb=d12d721e46d077c3e9557567f84c0eb401fc277a;p=lilypond.git diff --git a/input/regression/tie-accidental.ly b/input/regression/tie-accidental.ly index 9e5de4fef9..2f1ec24218 100644 --- a/input/regression/tie-accidental.ly +++ b/input/regression/tie-accidental.ly @@ -1,58 +1,19 @@ +\header { texidoc = " + lilypond should flip the tie's direction + to avoid a collision with the sharp. +" } -\version "2.1.22" -\header{ -texidoc=" -When tying notes with accidentals across a bar boundary, the -accidental must not be drawn on the note in the next bar. Unless the -tie crosses a line break, in which case the accidental is repeated if -it would be different from an untied note. The next note of the same -pitch in this next bar should always show the accidental (even if it is -natural). Slurring a accidentaled note to a natural one across bar -boundaries should be explicit. +\version "2.11.11" -Pitches can be verified by printing them with the @code{NoteNames} context. -" +\paper { + debug-tie-scoring = ##t + ragged-right = ##t } -thenotes = \notes \relative cis' { - \time 4/4 - g'2 g ~ | - g g4 gis | - gis2 gis ~ | - gis4 gis8 ~ gis g4 gis | - g2 gis ~ | - gis g4 gis | - g2 gis( | - g!) gis4 gis | - \break - \key a \major - gis2 gis ~ | - gis4 gis8 ~ gis g4 gis | - gis2 g ~ | - g4 gis8 ~ gis g4 gis | - g2 gis ~ | - gis g4 gis | - g2 gis( | - - % FIXME: check for accidentals at line break could look more cute - % maybe move to tie-break-accidental? - - % Btw: I don't even know what the rule is for the second note in the - % next bar, if a reminder accidental was printed. These are really - % not very common cases. Technically, if it is not tied, it - % should get an accidental but it looks a bit silly and redundant. - % See last g. - - g!) gis4 gis ~ | \break - gis2 gis ~ | gis g ~\break - g2 g -} - -\score { - << - \context Staff \thenotes - \context NoteNames \thenotes - >> +\relative c'' { + \override Tie #'layer = #2 + a ~ } +% EOF