2008/12/12 Mark Polesky <address@hidden>:
> Is there a way to set the accidental style in the layout block?
Yes :
\layout {
\context { \Score % or Staff, or Voice
autoAccidentals = #yourstyle
autoCautionaries = #yourotherstyle
}
}
yourstyle may be one of the predefined styles (have a look at
music-functions.scm) or a custom style, such as
`(Staff ,(make-accidental-rule 'same-octave 0)
,(make-accidental-rule 'any-octave 0)
,(make-accidental-rule 'same-octave 1)
,neo-modern-accidental-rule))
Wow. I had wondered about that exact question for years ...
Trevor.