Jump to content

Hiding the extender line for text dynamics: Difference between revisions

From LilyPond wiki
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Text style dynamic changes (such as ''cresc.'' and ''dim.'') are printed with a dashed line showing their extent. This line can be suppressed in the following way:
Text-style dynamic changes (such as ''cresc.'' and ''dim.'') are printed with a dashed line showing their extent. This line can be suppressed as follows.


<lilypond version="2.24">
<lilypond version="2.24">
Line 10: Line 10:


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Snippet]]

Latest revision as of 14:13, 3 December 2025

Text-style dynamic changes (such as cresc. and dim.) are printed with a dashed line showing their extent. This line can be suppressed as follows.

\version "2.24"

\relative c'' {
  \override DynamicTextSpanner.style = #'none
  \crescTextCresc
  c1\< | d | b | c\!
}