Jump to content

Customizing the no-chord symbol: 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:
By default, rests in a <code>ChordNames</code> context cause the “N.C.” symbol to be printed. This markup can be customized.
By default, rests in a <code>ChordNames</code> context cause the “N.C.” symbol to be printed. This markup can be customized.


<lilypond version="2.24.0">
<lilypond version="2.24">
<<
<<
   \chords {
   \chords {

Revision as of 18:45, 16 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
  }
>>