Jump to content

Customizing the no-chord symbol

From LilyPond wiki
Revision as of 13:19, 16 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

By default, rests in a ChordNames context cause the text “N.C.” to be printed. This markup can be customized by setting the noChordSymbol context property.

\version "2.24"

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