On 7 July 2011 06:54, Dmytro O. Redchuk <brownian....@gmail.com> wrote:
> NR says: > > % -----------------8<---------------------- > This function is called as follows: > > \new Staff << > #(set-accidental-style 'voice) > { … } > >> > > The accidental style applies to the current Staff by default [...] > % -----------------8<---------------------- > > So, it it called "at Staff level", or so. I'm not sure this is a bug, since piano accidental styles are set at GrandStaff/PianoStaff level. For the default style to work properly temporarily, it also needs to be set for PianoStaff. This works fine: \version "2.14.1" \new PianoStaff \new Staff \relative c' { \time 4/4 #(set-accidental-style 'piano-cautionary) gis'1 g #(set-accidental-style 'default 'PianoStaff) dis1 d #(set-accidental-style 'piano-cautionary) ais'1 a } Cheers, Neil _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond