[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set accidental style in the layout block
From: |
Jay Anderson |
Subject: |
Re: Set accidental style in the layout block |
Date: |
Thu, 30 Jun 2011 22:47:41 -0700 |
On Wed, Jun 29, 2011 at 3:45 AM, Xavier Scheuer <address@hidden> 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