]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/whiteout-lower-layers.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / whiteout-lower-layers.ly
diff --git a/input/regression/whiteout-lower-layers.ly b/input/regression/whiteout-lower-layers.ly
new file mode 100644 (file)
index 0000000..b9aa99f
--- /dev/null
@@ -0,0 +1,21 @@
+\version "2.14.0"
+
+\header { texidoc = "If the 'whiteout property of a
+grob is set to #t, that part of all objects in lower
+layers which falls under the extent of the grob is
+whited out.  Here the TimeSignature whites out the
+Tie but not the StaffSymbol.
+"
+}
+
+\relative c' {
+  \time 3/4
+  \override Staff.StaffSymbol #'layer = #4
+  \once \override Tie #'layer = #2
+  b'2.~
+  \once \override Staff.TimeSignature #'whiteout = ##t
+  \once \override Staff.TimeSignature #'layer = #3
+  \time 5/4
+  b4
+}
+