Inserting a \markup when using chordmode: 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 Tags: Mobile edit Mobile web edit |
m New category Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 22: | Line 22: | ||
[[Category:Text]] | [[Category:Text]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:21, 21 November 2025
A way to insert a \markup { . . . } string in \chords { . . . }.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=309
% Note what happens if \hspace #-2 is deleted or set to +n.
% If "tacet" instead of "Tacet" a little bit of "C" peeks around the \whiteout.
CMString = { <c e g>-\markup { \hspace #-2 \whiteout "Tacet" } }
CMStringX = #(append (sequential-music-to-chord-exceptions CMString #t)
ignatzekExceptions)
<< { \chords { c1
\set chordNameExceptions = #CMStringX c
\unset chordNameExceptions c }
}
{ \relative c'' { c c c }
}
>>