4 lsrtags = "contemporary-notation, expressive-marks, symbols-and-glyphs"
7 In order to make parts of a crescendo hairpin invisible, the following
8 method is used: A white rectangle is drawn on top of the respective
9 part of the crescendo hairpin, making it invisible.
11 The markup command @code{with-dimensions} tells LilyPond to consider only
12 the bottom edge of the rectangle when spacing it against the hairpin.
13 The property @code{staff-padding} prevents the rectangle from fitting
14 between the hairpin and staff.
16 Make sure to put the hairpin in a lower layer than the text markup to
17 draw the rectangle over the hairpin.
20 doctitle = "Broken Crescendo Hairpin"
31 \override DynamicLineSpanner.layer = #0
33 \override TextScript.layer = #2
34 \once\override TextScript.staff-padding = #6
35 \once\override TextScript.vertical-skylines = #'()
36 des16_\markup \with-dimensions #'(2 . 7) #'(0 . 0)
38 \filled-box #'(2 . 7) #'(0 . 2) #0