5 This shows how modern cross voice auto cautionary accidentals are handled.
6 The first two fisses get accidentals because they belong to different voices.
7 The first f gets cautionary natural because of previous measure.
8 The last f gets cautionary natural because fis was only in the other voice.
14 voicea = \transpose c c' {
18 voiceb = \transpose c c' {
26 \set printOctaveNames = ##f
30 #(set-accidental-style 'modern-voice-cautionary)
35 \set printOctaveNames = ##f
40 \layout { raggedright = ##t }