Customizing the no-chord symbol: Difference between revisions
Appearance
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 |
mNo edit summary |
||
| (2 intermediate revisions by the same user 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"> | ||
| 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
}
>>