]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/accidental-tie.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / accidental-tie.ly
index 739d919e4c9159585e155fb8ccc247a3acf5a386..c81aed3390a8c1ef4ae9ef162da26aec424c0b2f 100644 (file)
@@ -1,11 +1,14 @@
-\version "2.14.0"
+\version "2.16.0"
 
 \header {
   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.
+"
 }
 \layout {
   ragged-right = ##t
@@ -17,6 +20,12 @@ mus =        \relative c' {
   fis8  gis8 ~
   \break
   gis1
+  \override Accidental #'hide-tied-accidental-after-break = ##t
+  f1~
+  f2~f4 % ~ f8
+  fis8  gis8 ~
+  \break
+  gis1
 }
 
 <<