X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fpiano-template-with-centered-dynamics.ly;h=15496ea3b3778ad9ebca83a6c462222ce296ece9;hb=2509d01820483ff55aa6972d6d0523ea33b5950d;hp=4140af1b879b52b6d892c0a0659458ac620c07f2;hpb=f99ae4cae742b0ea3ab3c2ac5c9d8f7bf1fbdeff;p=lilypond.git diff --git a/Documentation/snippets/piano-template-with-centered-dynamics.ly b/Documentation/snippets/piano-template-with-centered-dynamics.ly index 4140af1b87..15496ea3b3 100644 --- a/Documentation/snippets/piano-template-with-centered-dynamics.ly +++ b/Documentation/snippets/piano-template-with-centered-dynamics.ly @@ -1,53 +1,69 @@ -%% 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 manually; it is automatically +% generated from Documentation/snippets/new +% Make any changes in Documentation/snippets/new/ +% and then run scripts/auxiliar/makelsr.py +% +% This file is in the public domain. +%% Note: this file works from version 2.14.0 +\version "2.14.0" \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. +%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98 + texidoces = " +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. " - doctitlefr = "Piano et nuances entre les portées" + doctitlees = "Plantilla de piano con matices centrados" - lsrtags = "expressive-marks, keyboards, template" -%% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca - 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. +%% Translation of GIT committish: fa1aa6efe68346f465cfdb9565ffe35083797b86 + texidocja = " +多くのピアノ譜は、強弱記号を 2 つの譜の間に置きます。これを実現するにはちょっ@c +とした調整が必要ですが、そのテンプレートがここにあるので、あなた自身が調整を行@c +う必要はありません。 +" + +%% Translation of GIT committish: c3b519f0dd5ff0f8ccfc9a39ed1fe8df8b43741c + texidocit = " +Molti spartiti per pianoforte hanno le dinamiche poste al centro dei due righi. +Il contesto @code{Dynamics}, se collocato tra i righi, posiziona automaticamente +le dinamiche in modo corretto. " - doctitlees = "Plantilla de piano con matices centrados" + doctitleit = "Modello per pianoforte con dinamiche al centro" -%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d +%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 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 +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 -う必要はありません。 + +%% Translation of GIT committish: ceb0afe7d4d0bdb3d17b9d0bff7936bb2a424d16 + 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 +94,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 {