X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Faccidental-tie.ly;h=fd733ed6cf3451c37218226f887944315545507f;hb=fd565020849c9cd24d4e7ce47c50f756198a44c9;hp=5c0404eed147f71f452287c7fae7d44630c6548a;hpb=34881554afeaf03a55a3a983caf9cfeaaf3ea060;p=lilypond.git diff --git a/input/regression/accidental-tie.ly b/input/regression/accidental-tie.ly index 5c0404eed1..fd733ed6cf 100644 --- a/input/regression/accidental-tie.ly +++ b/input/regression/accidental-tie.ly @@ -1,28 +1,34 @@ -\version "2.3.22" +\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 = \relative c' { - f1~ - f2~f4 % ~ f8 - fis8 gis8 ~ - \break - gis1 +\layout { + ragged-right = ##t } -\score { - << - \new NoteNames \mus - \new Voice { \key g \major \mus } - >> - \layout { - 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 } +>>