]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/piano-template-with-centered-dynamics.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / piano-template-with-centered-dynamics.ly
index 4140af1b879b52b6d892c0a0659458ac620c07f2..9385d7f391e9b57cb0da46567f0d1db979eef64d 100644 (file)
@@ -1,36 +1,20 @@
-%% 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.10"
 
 \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
+%% Translation of GIT committish: 341940d3830b59f93a80131471d622c2818afddb
   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.
+Muchas partituras de piano tienen las indicaciones dinámicas centradas
+entre los dos pentagramas.  El contexto @code{Dynamics}, si se sitúa
+entre pentagramas, coloca los matices dinámicos correctamente de forma
+automática.
 
 "
   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,15 +23,35 @@ 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
-right here, you don't have to do the tweaking yourself.
+The @code{Dynamics} context, if placed between staves, will
+automatically position dynamics correctly.
 
 "
   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 {