Jump to content

Hiding the extender line for text dynamics: Difference between revisions

From LilyPond wiki
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 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 in the following way:


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \override DynamicTextSpanner.style = #'none
   \override DynamicTextSpanner.style = #'none

Revision as of 18:55, 16 November 2025

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:

\version "2.24"

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