On Fri, Dec 12, 2008 at 4:36 PM, Valentin Villenave
<[email protected]>wrote:

> 2008/12/12 Mark Polesky <[email protected]>:
> > 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.


-- 
Trevor Bača
[email protected]
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to