]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/piano-template-with-centered-dynamics.ly
LSR: Update.
[lilypond.git] / Documentation / snippets / piano-template-with-centered-dynamics.ly
index 4140af1b879b52b6d892c0a0659458ac620c07f2..322fe8a0f475bb6f48f88653778fb09bd04d4cbb 100644 (file)
@@ -1,19 +1,10 @@
-%% 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.13.1"
+% Do not edit this file; it is automatically
+% generated from Documentation/snippets/new
+% This file is in the public domain.
+%% Note: this file works from version 2.13.4
+\version "2.13.4"
 
 \header {
-%% Translation of GIT committish: 9ba35398048fdf1ca8c83679c7c144b1fd48e75b
-  texidocfr = "
-Nombre d'ouvrages pour piano font apparaître les nuances entre les deux
-portées.  Bien que cela nécessite quelques subtilités, voici de quoi
-obtenir un tel résultat.
-
-"
-  doctitlefr = "Piano et nuances entre les portées"
-
-  lsrtags = "expressive-marks, keyboards, template"
-
 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
   texidoces = "
 Muchas partituras de piano tienen las indicaciones dinámicas
@@ -24,13 +15,6 @@ que hacer este trucaje por nuestra cuenta.
 "
   doctitlees = "Plantilla de piano con matices centrados"
 
-%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
-  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 = "
@@ -39,6 +23,25 @@ kopieren.
 う必要はありません。
 "
 
+%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
+  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: 9ba35398048fdf1ca8c83679c7c144b1fd48e75b
+  texidocfr = "
+Nombre d'ouvrages pour piano font apparaître les nuances entre les deux
+portées.  Bien que cela nécessite quelques subtilités, voici de quoi
+obtenir un tel résultat.
+
+"
+  doctitlefr = "Piano et nuances entre les portées"
+
+  lsrtags = "expressive-marks, keyboards, template"
   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
@@ -48,6 +51,7 @@ right here, you don't have to do the tweaking yourself.
   doctitle = "Piano template with centered dynamics"
 } % begin verbatim
 
+
 global = {
   \key c \major
   \time 4/4
@@ -78,35 +82,7 @@ pedal = {
     \new Staff = "Staff_pfLower" << \global \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
-    }
-  }
+  \layout { }
 }
 
 \score {