Broken crescendo hairpin: Difference between revisions
Import snippet from LSR |
mNo edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
In order to make parts of a crescendo hairpin invisible, the following method is used: A white rectangle is drawn on top of the respective part of the crescendo hairpin, making it invisible. The rectangle is defined as | In order to make parts of a crescendo hairpin invisible, the following method is used: A white rectangle is drawn on top of the respective part of the crescendo hairpin, making it invisible. The rectangle is defined as a text markup. | ||
The markup command <code>with-dimensions</code> tells LilyPond to consider only the bottom edge of the rectangle when spacing it against the hairpin. The property <code>staff-padding</code> prevents the rectangle from fitting between the hairpin and staff. | The markup command <code>with-dimensions</code> tells LilyPond to consider only the bottom edge of the rectangle when spacing it against the hairpin. The property <code>staff-padding</code> prevents the rectangle from fitting between the hairpin and staff. | ||
| Line 5: | Line 5: | ||
Make sure the hairpin is in a lower layer than the text markup to draw the rectangle over the hairpin. | Make sure the hairpin is in a lower layer than the text markup to draw the rectangle over the hairpin. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
<< | << | ||
| Line 30: | Line 30: | ||
[[Category:Expressive marks]] | [[Category:Expressive marks]] | ||
[[Category:Contemporary notation]] | [[Category:Contemporary notation]] | ||
[[Category:Symbols and glyphs]] | |||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category: | [[Category:Snippet]] | ||