Hiding the dashed line in a text crescendo: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
Text crescendi (or decrescendi, ritardandi, etc.) show a dashed line by default. To hide this spanner line, simply set the <code>dash-period</code> of <code>DynamicTextSpanner</code> (or <code>TextSpanner</code> if you use one for “rit.”) to a negative value. | Text crescendi (or decrescendi, ritardandi, etc.) show a dashed line by default. To hide this spanner line, simply set the <code>dash-period</code> of <code>DynamicTextSpanner</code> (or <code>TextSpanner</code> if you use one for “rit.”) to a negative value. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=404 | %% http://lsr.di.unimi.it/LSR/Item?id=404 | ||
Revision as of 18:52, 16 November 2025
Text crescendi (or decrescendi, ritardandi, etc.) show a dashed line by default. To hide this spanner line, simply set the dash-period of DynamicTextSpanner (or TextSpanner if you use one for “rit.”) to a negative value.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=404
\relative c'' {
% Default: Dashed line
\crescTextCresc
c4\< c c c\!
\crescTextCresc
\once \override DynamicTextSpanner.style = #'none
c4\< c c c\!
}