Re: Accidentals in cadenzas after barlines
Stephen MacNeil writes: > I agree \accidentalStyle is nice syntax. And i agree my example was > over kill for the situation (But works). However I disagree, on Score > vs Voice/Staff. If you need to change in and out of using accidentals > for example in a book. Score works well. Well, it turns out that I confused the context specification given to \accidentalStyle (which means where it is applied) with internal context arguments to add-accidentals-properties (which specify the context for which any printed accidental will be considered relevant). I implemented the \accidentalStyle syntax so one should hope that I had understood what it was useful for. No such luck. At least it works. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
I agree \accidentalStyle is nice syntax. And i agree my example was over kill for the situation (But works). However I disagree, on Score vs Voice/Staff. If you need to change in and out of using accidentals for example in a book. Score works well. Take this example http://burrito.whatbox.ca:15263/imglnks/usimg/4/4b/IMSLP02260-Bach_-_BGA_-_BWV_1056.pdf page 3 here is a quick typeset. http://mglessons.com/lilypond/accid.pdf If I want to switch in and out of styles I wouldn't put it in the layout block or global so the solution is "Score" I could however right it in each part that needs to be changed but that would be "rather weird". I jest of course. But that's my understanding of it -- Am i missing something? Thanks Stephen >Apart from \accidentalStyle having a nicer syntax, I strongly suspect >that you don't use the last argument correctly. 'Score implies that any >temporary accidentals should hold for the whole score across all >systems. That would be kind of unusual. Most accidentals hold >per-Staff. Piano accidentals may hold per PianoStaff, and there are >also per-Voice accidentals. But per-Score would be rather weird. >-- >David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
Stephen MacNeil writes: > you can also do > > #(set-accidental-style 'forget 'Score) > then > > #(set-accidental-style 'modern 'Score) > > to go back Apart from \accidentalStyle having a nicer syntax, I strongly suspect that you don't use the last argument correctly. 'Score implies that any temporary accidentals should hold for the whole score across all systems. That would be kind of unusual. Most accidentals hold per-Staff. Piano accidentals may hold per PianoStaff, and there are also per-Voice accidentals. But per-Score would be rather weird. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
Am 03.06.2015 um 15:55 schrieb Peter Toye: Re: Accidentals in cadenzas after barlines Thanks both David and Urs. Urs's didn't work too well as it still left space for the non-existent accidental. David's solution worked much better. This is interesting because in the development version this isn't the case anymore. Urs Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com <http://www.ptoye.com> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
Thanks both David and Urs. Urs's didn't work too well as it still left space for the non-existent accidental. David's solution worked much better. Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
Peter Toye writes: > I'm well aware that after inserting a manual barline in a cadenza I need to > use cautionary accidentals. > > However, following a barline LP automatically inserts a natural. In this > snippet I don't want the natural on the c immediately after the barline. > > I can't see how to stop it - what's the trick please? I can't find it in the > manuals or the snippets. > > \version "2.18.2" > > \language "english" > > \score { > > \new Staff \with { > \remove "Time_signature_engraver" > } > > \relative c { > \key c \major > \clef bass > \set Timing.defaultBarType = "" > \cadenzaOn > > { > c4 cs \bar "|" c cs > } > } > } If everything else fails, \once\accidentalStyle forget is sort of a sledge-hammer approach. There may be something more elegant. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Accidentals in cadenzas after barlines
\once \omit Accidental HTH Urs Am 03.06.2015 um 11:15 schrieb Peter Toye: Accidentals in cadenzas after barlines I'm well aware that after inserting a manual barline in a cadenza I need to use cautionary accidentals. However, following a barline LP automatically inserts a natural. In this snippet I don't want the natural on the c immediately after the barline. I can't see how to stop it - what's the trick please? I can't find it in the manuals or the snippets. \version "2.18.2" \language "english" \score { \new Staff \with { \remove "Time_signature_engraver" } \relative c { \key c \major \clef bass \set Timing.defaultBarType = "" \cadenzaOn { c4 cs \bar "|" c cs } } } Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com <http://www.ptoye.com> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Accidentals in cadenzas after barlines
I'm well aware that after inserting a manual barline in a cadenza I need to use cautionary accidentals. However, following a barline LP automatically inserts a natural. In this snippet I don't want the natural on the c immediately after the barline. I can't see how to stop it - what's the trick please? I can't find it in the manuals or the snippets. \version "2.18.2" \language "english" \score { \new Staff \with { \remove "Time_signature_engraver" } \relative c { \key c \major \clef bass \set Timing.defaultBarType = "" \cadenzaOn { c4 cs \bar "|" c cs } } } Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user