2 \header { texidoc = "The property @code{chordNameExceptions} can used
3 to store a list of special notations for specific chords.
5 Putting the exceptions list encoded as
7 \\notes @{ <c f g bes>1\\markup @{ \\super \"7\" \"wahh\" @} @}
9 into @code{chordNameExceptions} takes a little manoeuvring. The
10 following code transforms @code{chExceptionMusic} (which is a
11 sequential music) into a list of exceptions.
13 (sequential-music-to-chord-exceptions chExceptionMusic \#t)
18 ... ignatzekExceptions)
20 adds the new exceptions to the default ones, which are defined in
21 @file{ly/chord-modifier-init.ly}.
25 % 7sus4 denoted with ^7 wahh
26 chExceptionMusic = \notes {
27 <c f g bes>1-\markup { \super "7" "wahh" }}
29 % add to existing exceptions.
30 chExceptions = #(append
31 (sequential-music-to-chord-exceptions chExceptionMusic #t)
36 \set chordNameExceptions = #chExceptions
41 << \context ChordNames \theMusic
42 \context Voice \theMusic