X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Faccidental-tie.ly;h=fd733ed6cf3451c37218226f887944315545507f;hb=8e2eaf4959bec63a1128a444591a540f4f1e2937;hp=429567c400bcc50f609b4e0ad807cc1e1f747a84;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/regression/accidental-tie.ly b/input/regression/accidental-tie.ly index 429567c400..fd733ed6cf 100644 --- a/input/regression/accidental-tie.ly +++ b/input/regression/accidental-tie.ly @@ -1,28 +1,34 @@ -\version "2.1.30" +\version "2.19.21" \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 { + f'1~ + 2~4 % ~ f8 + fis8 gis8 ~ + \break + gis1 + \override Accidental.hide-tied-accidental-after-break = ##t + f1~ + 2~4 % ~ f8 + fis8 gis8 ~ + \break + gis1 } + +<< + \new NoteNames \mus + \new Voice { \key g \major \mus } +>>