On Wed, Jun 29, 2011 at 3:45 AM, Xavier Scheuer <[email protected]> wrote:
> Is there a way to set accidental style in the  \layout  block?

\layout
{
  \context
  {
    \Score
    ...
    autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave 0)
                               ,(make-accidental-rule 'any-octave 0)
                               ,(make-accidental-rule 'same-octave 1))
    ...
  }
}

See music-function.scm for how they are defined and engraver-init.ly
for some examples. Ideally this would be cleaner, but at least it's
possible.

-----Jay

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to