2014-04-03 4:37 GMT+02:00 Mark Stephen Mrotek <[email protected]>:
> Hello,
>
Hi Mark,
> In a piano staff the pedal commands are within “\new Dynamics { … }.”
>
> I want the pedal notated with brackets, \set Staff.pedalSustainStyle =
> #'bracket.
>
> This command has been put in various places within the \score { … }, and,
> obviously, not the correct one!
>
> Where should it be placed?
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
\score {
\relative c
\new PianoStaff <<
\new Staff { c'4 d e f }
\new Staff { \clef F c,4 d e f }
\new Dynamics { s4\sustainOn s s s\sustainOff }
>>
\layout {
\context {
\Dynamics
pedalSustainStyle = #'bracket
}
}
}
\score {
\relative c
\new PianoStaff <<
\new Staff { c'4 d e f }
\new Staff { \clef F c,4 d e f }
\new Dynamics
\with { pedalSustainStyle = #'bracket }
{ s4\sustainOn s s s\sustainOff }
>>
\layout { }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
HTH,
Pierre
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user