the command \override Hairpin #'to-barline = ##t is ignored by the Dynamics context in the "piano centered dynamics" template:
___________________________________________ \version "2.11.65-1" global = { \key c \major \time 4/4 } upper = \relative c'' { \clef treble a2 b c d } lower = \relative c { \clef bass a1 c } dynamics = { \override Hairpin #'to-barline = ##t s1\> s1\! } pedal = { } \score { \new PianoStaff = "PianoStaff_pf" << \new Staff = "Staff_pfUpper" \upper \new Dynamics = "Dynamics_pf" \dynamics \new Staff = "Staff_pfLower" << \lower >> \new Dynamics = "pedal" \pedal >> \layout { % define Dynamics context \context { \type "Engraver_group" \name Dynamics \alias Voice \consists "Output_property_engraver" \consists "Piano_pedal_engraver" \consists "Script_engraver" \consists "New_dynamic_engraver" \consists "Dynamic_align_engraver" \consists "Text_engraver" \consists "Skip_event_swallow_translator" \consists "Axis_group_engraver" pedalSustainStrings = #'("Ped." "*Ped." "*") pedalUnaCordaStrings = #'("una corda" "" "tre corde") \override DynamicLineSpanner #'Y-offset = #0 \override TextScript #'font-size = #2 \override TextScript #'font-shape = #'italic \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1) } % modify PianoStaff context to accept Dynamics context \context { \PianoStaff \accepts Dynamics } } } _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond