Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-06 Thread David Kastrup
Kieren MacMillan writes: > Hi all, > >>> Haven't you been dreaming about your First Patch™ for quite a while? > > Why, yes… yes I have! > >> You mean, in a dozen years? > > My immediate reactions was “wait wut i actually made three commits at > some point?” LOL Graham was really good at getting

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-06 Thread Kieren MacMillan
Hi all, >> Haven't you been dreaming about your First Patch™ for quite a while? Why, yes… yes I have! > You mean, in a dozen years? My immediate reactions was “wait wut i actually made three commits at some point?” LOL >> I mean, this would just be a matter of adding the style to the >>

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread David Kastrup
Jean Abou Samra writes: >> > > Nice!  Shall we add this to LilyPond proper? >> > I have no opinion. >> >> I do (surprise surprise): >> Yes. >> Though possibly with a different name (?). >> Regardless, seems like a useful LSR item. > > > Haven't you been dreaming about your First Patch™ for

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
> > > Nice!  Shall we add this to LilyPond proper? > > I have no opinion. > > I do (surprise surprise): > Yes. > Though possibly with a different name (?). > Regardless, seems like a useful LSR item. Haven't you been dreaming about your First Patch™ for quite a while? I mean, this would just be

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Kieren MacMillan
Howdy! > On Sep 5, 2023, at 5:55 AM, Jean Abou Samra wrote: > > %% An accidental style that also prints cancellation signs in the > > %% following measure for different octaves ("piano" only does it for > > %% the same octave). Thanks — that's perfect. :) >> Nice! Shall we add this to

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
Le mardi 05 septembre 2023 à 09:48 +, Werner LEMBERG a écrit : > > %% An accidental style that also prints cancellation signs in the > > %% following measure for different octaves ("piano" only does it for > > %% the same octave). > > Nice!  Shall we add this to LilyPond proper? I have no

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Werner LEMBERG
> %% An accidental style that also prints cancellation signs in the > %% following measure for different octaves ("piano" only does it for > %% the same octave). Nice! Shall we add this to LilyPond proper? Werner

Re: automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-05 Thread Jean Abou Samra
Try this: \version "2.25.7" %% An accidental style that also prints cancellation signs in the following %% measure for different octaves ("piano" only does it for the same octave). #(set! accidental-styles (cons `(piano-customized #f (Staff

automatic accidentals in subsequent measure(s) of *a different staff* in a PianoStaff context

2023-09-04 Thread Kieren MacMillan
Hi all, SNIPPET BEGINS \version "2.25.2" \language "english" \layout { \context { \PianoStaff \accidentalStyle piano } } \new PianoStaff << \new Staff { 1 } \new Staff { \clef bass 1 } >> SNIPPET ENDS Is there an automated way to make a natural sign (full or