4 texidoc = "Several automatic accidental rules
5 aim to reproduce contemporary music notation
9 @code{'dodecaphonic} style prints accidentals on every
10 note (including naturals)
12 @code{'neo-modern style} prints accidentals on every note
13 (not including naturals), except when a note is
16 @code{'neo-modern-cautionary} style acts like neo-modern,
17 adding cautionary parentheses around accidentals.
19 @code{'teaching} prints accidentals normally, but adds
20 cautionary accidentals when an accidental is
21 already included in the key signature.
24 Both scores should show the same accidentals.
29 \layout { ragged-right = ##t }
33 #(set-accidental-style 'dodecaphonic)
35 #(set-accidental-style 'neo-modern)
36 gis8 a gis gis g' gis gis,, a'
37 #(set-accidental-style 'neo-modern-cautionary)
39 #(set-accidental-style 'teaching)
47 \set Staff.autoAccidentals = #'()
48 \set Staff.autoCautionaries = #'()
50 gis!8 a gis! gis g'! gis! gis,,! a'
51 eis! fis! eis? eis g?2
53 e8 eis! fis? fis gis?2