Inserting a \markup when using chordmode: Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
A way to insert a \markup { . . . } string in \chords { . . . }. | A way to insert a \markup { . . . } string in \chords { . . . }. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=309 | %% http://lsr.di.unimi.it/LSR/Item?id=309 | ||
| 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 }
}
>>