Jump to content

Customizing the no-chord symbol: 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
No edit summary
Line 17: Line 17:


[[Category:Chords]]
[[Category:Chords]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]

Revision as of 22:51, 21 November 2025

By default, rests in a ChordNames context cause the “N.C.” symbol to be printed. This markup can be customized.

\version "2.24"

<<
  \chords {
    R1
    \set noChordSymbol = "—"
    R1
    \set noChordSymbol = \markup \italic "Ssh!"
    R1
  }
  {
    R1*3
  }
>>