Prevent segfault with arpeggio + no staff-symbol.
[lilypond/mpolesky.git] / input / regression / chord-name-exceptions.ly
blob86dc2e5159b7f886f4e6b49983fed966c9c4f73d
1 \version "2.12.0"
2 \header {
4 texidoc = "The property @code{chordNameExceptions} can used
5 to store a list of special notations for specific chords."
10 % 7sus4 denoted with ^7 wahh
11 chExceptionMusic = {
12 <c f g bes>1-\markup { \super "7" "wahh" }}
14 % add to existing exceptions.
15 chExceptions = #(append
16 (sequential-music-to-chord-exceptions chExceptionMusic #t)
17 ignatzekExceptions)
19 theMusic = \chordmode {
20 c:7sus4 c:dim7/+f
21 \set chordNameExceptions = #chExceptions
22 c:7sus4 c:dim7/+f
25 \layout { ragged-right = ##t }
27 << \context ChordNames \theMusic
28 \context Voice \theMusic
29 >>