Customizing the no-chord symbol: Difference between revisions
Appearance
Import snippet from LSR |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
By default, rests in a <code>ChordNames</code> context cause the “N.C.” | By default, rests in a <code>ChordNames</code> context cause the text “N.C.” to be printed. This markup can be customized by setting the <code>noChordSymbol</code> context property. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
<< | << | ||
\chords { | \chords { | ||
| Line 18: | Line 18: | ||
[[Category:Chords]] | [[Category:Chords]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 13:19, 16 December 2025
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
}
>>