-%% Do not edit this file; it is auto-generated from input/new
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
-\version "2.11.51"
+\version "2.13.1"
\header {
- lsrtags = "expressive-marks,keyboards,template"
+ lsrtags = "expressive-marks, keyboards, template"
+
+%% Translation of GIT committish: dff50e8e1d3134657a6b6203b9c93826dc4cef65
+ texidoces = "
+Muchas partituras de piano tienen las indicaciones dinámicas
+centradas entre los dos pentagramas. Esto requiere un poco de
+trucaje, pero puesto que la plantilla está aquí mismo, no tenemos
+que hacer este trucaje por nuestra cuenta.
+
+"
+ doctitlees = "Plantilla de piano con matices centrados"
+%% Translation of GIT committish: 17633f6b8681af86230aa84597fe7561e98c91d6
+
+ texidocde = "
+In der meisten Klaviernotation werden die Dynamikzeichen zwischen
+den beiden Systemen zentriert. Für LilyPond muss man die Einstellungen
+etwas anpassen, aber Sie können ja das angepasste Beispiel von hier
+kopieren.
+"
+
+%% Translation of GIT committish: 06d99c3c9ad1c3472277b4eafd7761c4aadb84ae
+ texidocja = "
+多くのピアノ譜は、強弱記号を 2 つの譜の間に置きます。これを実現するにはちょっ@c
+とした調整が必要ですが、そのテンプレートがここにあるので、あなた自身が調整を行@c
+う必要はありません。
+"
+
texidoc = "
Many piano scores have the dynamics centered between the two staves.
This requires a bit of tweaking to implement, but since the template is
right here, you don't have to do the tweaking yourself.
+
"
doctitle = "Piano template with centered dynamics"
} % begin verbatim
-upper = \relative c'' {
- \clef treble
+global = {
\key c \major
\time 4/4
-
+}
+
+upper = \relative c'' {
+ \clef treble
a4 b c d
}
lower = \relative c {
\clef bass
- \key c \major
- \time 4/4
-
a2 c
}
}
\score {
- \new PianoStaff <<
- \new Staff = "upper" \upper
- \new Dynamics = "dynamics" \dynamics
- \new Staff = "lower" <<
- \clef bass
- \lower
- >>
+ \new PianoStaff = "PianoStaff_pf" <<
+ \new Staff = "Staff_pfUpper" << \global \upper >>
+ \new Dynamics = "Dynamics_pf" \dynamics
+ \new Staff = "Staff_pfLower" << \global \lower >>
\new Dynamics = "pedal" \pedal
>>
+
\layout {
+ % define Dynamics context
\context {
\type "Engraver_group"
\name Dynamics
- % So that \cresc works, for example.
\alias Voice
\consists "Output_property_engraver"
-
- \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
- \override DynamicLineSpanner #'Y-offset = #0
- pedalSustainStrings = #'("Ped." "*Ped." "*")
- pedalUnaCordaStrings = #'("una corda" "" "tre corde")
-
\consists "Piano_pedal_engraver"
\consists "Script_engraver"
- \consists "Dynamic_engraver"
+ \consists "New_dynamic_engraver"
+ \consists "Dynamic_align_engraver"
\consists "Text_engraver"
-
- \override TextScript #'font-size = #2
- \override TextScript #'font-shape = #'italic
-
\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
}
}
}
+
\score {
- \new PianoStaff <<
- \new Staff = "upper" << \upper \dynamics \pedal >>
- \new Staff = "lower" << \lower \dynamics \pedal >>
+ \new PianoStaff = "PianoStaff_pf" <<
+ \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >>
+ \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >>
>>
\midi { }
}