% Generated by lilypond-book % Options: [printfilename,texidoc,linewidth] \paper { linewidth = 160 \mm } \renameinput "accidental.ly" \version "2.2.0" \header{ texidoc=" Accidentals work: the second note does not get a sharp. The third and fourth show forced and courtesy accidentals. " } foo = \notes\relative c'' { \key as \major dis4 dis dis!^"force" dis? } \score { << \foo \context NoteNames \foo >> \paper { raggedright = ##t } }