1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
6 lsrtags = "expressive-marks,keyboards,template"
8 Many piano scores have the dynamics centered between the two staves.
9 This requires a bit of tweaking to implement, but since the template is
10 right here, you don't have to do the tweaking yourself.
12 doctitle = "Piano template with centered dynamics"
15 upper = \relative c'' {
37 s2\sustainDown s2\sustainUp
42 \new Staff = "upper" \upper
43 \new Dynamics = "dynamics" \dynamics
44 \new Staff = "lower" <<
48 \new Dynamics = "pedal" \pedal
52 \type "Engraver_group"
54 \alias Voice % So that \cresc works, for example.
55 \consists "Output_property_engraver"
57 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
58 \override DynamicLineSpanner #'Y-offset = #0
59 pedalSustainStrings = #'("Ped." "*Ped." "*")
60 pedalUnaCordaStrings = #'("una corda" "" "tre corde")
62 \consists "Piano_pedal_engraver"
63 \consists "Script_engraver"
64 \consists "Dynamic_engraver"
65 \consists "Text_engraver"
67 \override TextScript #'font-size = #2
68 \override TextScript #'font-shape = #'italic
70 \consists "Skip_event_swallow_translator"
72 \consists "Axis_group_engraver"
82 \new Staff = "upper" << \upper \dynamics >>
83 \new Staff = "lower" << \lower \dynamics >>
84 \new Dynamics = "pedal" \pedal
88 \type "Performer_group"
90 \consists "Piano_pedal_performer"