oops, sorry, i put #(set-accidental-style 'forget) in the wrong place. all
works npw.

2012/4/8 James <pkx1...@gmail.com>

> Hello,
>
> On 8 April 2012 10:36, Wasil Sergejczyk <szelga....@gmail.com> wrote:
> > when i set \cadenzaOn, set-accidental-style has no effect. do i use it
> > correctly? is it a bug or a feature? are there any workarounds?
>
> Remember when you set a \cadenzaOn it is like one giant *single*
> measure - even if you put in \bar "|", until *after* cadenzaOff, so
> you have to manually set your Accidentals.
>
> Hope that helps.
>
> James
>
> >
> >
> >> \version "2.15.36"
> >> \include "italiano.ly"
> >> global = {
> >> \cadenzaOn
> >> \key do \major
> >> \autoBeamOff
> >> \pointAndClickOff
> >> \override Staff.NoteHead #'style = #'altdefault
> >> #(set-accidental-style 'forget)
> >> }
> >> melody = {
> >> \global
> >> \clef "alto"
> >> \transpose do do' {
> >> do re mi fa sol la sib do' sib
> >> }
> >> }
> >> \score {
> >> <<
> >> \new Staff { \melody }
> >> >>
> >> \layout {
> >> %indent = 0
> >> \context {
> >> \Staff
> >> \remove "Time_signature_engraver"
> >> }
> >> \context {
> >> \Score
> >> \override BarNumber #'transparent = ##t
> >> }
> >> }
> >
> > thanks in advance.
> > --
> > Best regards.
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>



-- 
Best regards.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to