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: Valentin Villenave
Subject: Re: set accidental style in \layout block?
Date: Fri, 12 Dec 2008 23:36:36 +0100

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))

Cheers,
Valentin




reply via email to

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