lilypond-devel
[Top][All Lists]
Advanced

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

Re: Custom accidental styles


From: David Kastrup
Subject: Re: Custom accidental styles
Date: Sat, 21 May 2016 17:00:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Dan Eble <address@hidden> writes:

> On May 20, 2016, at 05:38 , Simon Albrecht <address@hidden> wrote:
>> I was hoping to do further improvements to the code (comments and
>> simplification) such as to make the threshold still lower, but I
>> didn’t get there unfortunately.
>> 
>> HTH, Simon
>> <accidental-style-baroque.ily>
>
> Thank you.  That was helpful.  This worked for me:
>
> %% Like voice, with additional cautionary cross-voice cancellations
> #(set! accidental-styles (append accidental-styles
>                         `((hymnbook-cautionary #f
>                            (Voice ,(make-accidental-rule 'same-octave 0))
>                            (Staff ,(make-accidental-rule 'same-octave 0))
>                            Staff))))

accidental-styles.hymnbook-cautionary =
#`(#f (Voice ,(make-accidental-rule 'same-octave 0))
      (Staff ,(make-accidental-rule 'same-octave 0))
      Staff)

-- 
David Kastrup



reply via email to

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