gnomino wrote: > However, the pedal bracket appears disjointed > and uneven. Is there any way I can fix this?
Here's one way of doing it. Off hand, I don't know if there's a more elegant solution, but there might be. Anyway, the idea for this comes from this snippet: http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Expressive-marks#Piano-template-with-centered-dynamics Basically I just replaced "Dynamics" with "Pedals" and removed unnecessary lines. HTH. - Mark
\version "2.13.0"
\layout {
% define Pedals context
\context {
\type "Engraver_group"
\name Pedals
\consists "Output_property_engraver"
\consists "Piano_pedal_engraver"
\consists "Script_engraver"
\consists "Skip_event_swallow_translator"
\consists "Axis_group_engraver"
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
pedalSustainStyle = #'bracket
}
% modify PianoStaff context to accept Pedals context
\context {
\PianoStaff
\accepts Pedals
}
}
susOn = \sustainOn
susOff = \sustainOff
\new PianoStaff <<
\new Staff {
c'4 c' c' c'
}
\new Staff {
\times 4/6 { c'4 c' c' c' c' c' }
}
\new Pedals {
s4\susOn s\susOff\susOn s\susOff\susOn s\susOff\susOn
}
>><<attachment: pedal-bracket.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
