Jump to content

Hiding the extender line for text dynamics: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users 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.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \override DynamicTextSpanner.style = #'none
   \override DynamicTextSpanner.style = #'none
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\!
}