lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set accidental style in \layout block?


From: Mark Polesky
Subject: Re: set accidental style in \layout block?
Date: Fri, 12 Dec 2008 15:23:15 -0800 (PST)

Does anyone think it would be worth adding the 
syntactic sugar to allow this?

\layout {
  \context {
    \Score
    accidentalStyle = #'modern
  }
}

or this?

\layout {
  #(layout-set-accidental-style 'modern)
}

as opposed to the current method (as I understand it):

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

- Mark


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]