X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Faccidental-tie.ly;h=f69a7a85756d283eb59f973584dcfa00ff0af944;hb=13da8b2;hp=e11a349addba21d8b010ae078d8e8d06c53c7dd7;hpb=3684e949054183e4a31e17f5e7ab0bf30da0123e;p=lilypond.git diff --git a/input/regression/accidental-tie.ly b/input/regression/accidental-tie.ly index e11a349add..f69a7a8575 100644 --- a/input/regression/accidental-tie.ly +++ b/input/regression/accidental-tie.ly @@ -1,28 +1,34 @@ -\version "2.2.0" +\version "2.17.6" \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 } +>>