5 When tieing notes with accidentals across a bar boundary, the
6 accidental must not be drawn on the note in the next bar. Unless the
7 tie crosses a line break, in which case the accidental is repeated if
8 it would be different from an untied note. The next note of the same
9 pitch in this next bar should always show the accidental (even if it's
10 natural). Slurring a accidentaled note to a natural one across bar
11 boundaries should be explicit.
13 Pitches can be verified by printing them with the @code{NoteNames} context.
17 thenotes = \notes \relative cis' {
22 gis4 gis8 ~ gis g4 gis |
30 gis4 gis8 ~ gis g4 gis |
32 g4 gis8 ~ gis g4 gis |
37 % FIXME: check for accidentals at line break could look more cute
38 % maybe move to tie-break-accidental?
40 % Btw: I don't even know what the rule is for the second note in the
41 % next bar, if a reminder accidental was printed. These are really
42 % not very common cases. Technically, if it is not tied, it
43 % should get an accidental but it looks a bit silly and redundant.
46 g!-) gis4 gis ~ | \break
47 gis2 gis ~ | gis g ~\break
53 \context Staff \thenotes
54 \context NoteNames \thenotes