X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnew%2Fpiano-template-with-centered-dynamics.ly;fp=Documentation%2Fsnippets%2Fnew%2Fpiano-template-with-centered-dynamics.ly;h=0000000000000000000000000000000000000000;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=70403a76fcc8c5994be607bd4f1f8ba059dbfb3e;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/Documentation/snippets/new/piano-template-with-centered-dynamics.ly b/Documentation/snippets/new/piano-template-with-centered-dynamics.ly deleted file mode 100644 index 70403a76fc..0000000000 --- a/Documentation/snippets/new/piano-template-with-centered-dynamics.ly +++ /dev/null @@ -1,53 +0,0 @@ -\version "2.14.0" - -\header { - lsrtags = "expressive-marks, keyboards, template" - texidoc = " -Many piano scores have the dynamics centered between the two staves. -The @code{Dynamics} context, if placed between staves, will -automatically position dynamics correctly. - -" - doctitle = "Piano template with centered dynamics" -} - -global = { - \key c \major - \time 4/4 -} - -upper = \relative c'' { - \clef treble - a4 b c d -} - -lower = \relative c { - \clef bass - a2 c -} - -dynamics = { - s2\fff\> s4 s\!\pp -} - -pedal = { - s2\sustainOn s\sustainOff -} - -\score { - \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 { } -} - -\score { - \new PianoStaff = "PianoStaff_pf" << - \new Staff = "Staff_pfUpper" << \global \upper \dynamics \pedal >> - \new Staff = "Staff_pfLower" << \global \lower \dynamics \pedal >> - >> - \midi { } -}