X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Faccidental-tie.ly;h=c81aed3390a8c1ef4ae9ef162da26aec424c0b2f;hb=5b1f3adfe5e3561eaa0f9440e0697054084b7107;hp=6922dc0d654b364b304802b43faffefdd1e1575b;hpb=eba82770802a246bca4afab7eab1f78e84785214;p=lilypond.git diff --git a/input/regression/accidental-tie.ly b/input/regression/accidental-tie.ly index 6922dc0d65..c81aed3390 100644 --- a/input/regression/accidental-tie.ly +++ b/input/regression/accidental-tie.ly @@ -1,28 +1,34 @@ -\version "2.1.26" +\version "2.16.0" \header { - - texidoc = "The second and third notes should not get accidentals, + texidoc = "The second and third notes should not get accidentals, because they are tied to a note. However, an accidental is present if the line is broken at the tie, which happens for the G - sharp." + sharp. + The presence of an accidental after a broken tie can be + overridden. +" } - -mus = \notes \relative c' { - f1~ - f2~f4 % ~ f8 - fis8 gis8 ~ - \break - gis1 +\layout { + ragged-right = ##t } -\score { - \notes << - \new NoteNames \mus - \new Voice { \key g \major \mus } - >> - \paper { - raggedright = ##t - } +mus = \relative c' { + f1~ + f2~f4 % ~ f8 + fis8 gis8 ~ + \break + gis1 + \override Accidental #'hide-tied-accidental-after-break = ##t + f1~ + f2~f4 % ~ f8 + fis8 gis8 ~ + \break + gis1 } + +<< + \new NoteNames \mus + \new Voice { \key g \major \mus } +>>