Jump to content

Hiding the extender line for text dynamics: Difference between revisions

From LilyPond wiki
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
mNo edit summary
 
(2 intermediate revisions 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 9: Line 9:
</lilypond>
</lilypond>


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[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\!
}