Hiding the dashed line in a text crescendo: Difference between revisions

Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
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.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=404
%% http://lsr.di.unimi.it/LSR/Item?id=404


Line 16: Line 16:
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Snippet]]