1\version "2.17.6" 2\layout { ragged-right = ##t } 3 4\header{ 5 texidoc=" 6This shows how modern cross voice auto cautionary accidentals are handled. 7The first two fisses get accidentals because they belong to different voices. 8The first f gets cautionary natural because of previous measure. 9The last f gets cautionary natural because fis was only in the other voice. 10" 11} 12 13 14 15voicea = \transpose c c' { 16 \stemUp 17 fis2 a2 f4 fis a2 18} 19voiceb = \transpose c c' { 20 \stemDown 21 c2 fis2 f4 c f2 22} 23 24<< 25 26 \new NoteNames { 27 \set printOctaveNames = ##f 28 \voicea 29 } 30 \new Staff << 31 \accidentalStyle modern-voice-cautionary 32 \new Voice \voicea 33 \new Voice \voiceb 34 >> 35 \new NoteNames { 36 \set printOctaveNames = ##f 37 \voiceb 38 39 } 40>> 41