X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fvertically-aligned-dynamics-and-textscripts.ly;h=9e631e1c2fa9c3f55f225d5d6438cde9a6bb321f;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=1fbd907de3aee3fc72ea2feec6239611a4d61a2a;hpb=c75e554c93a26d28bf58fb41a5cfbaf13eec115d;p=lilypond.git diff --git a/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly b/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly index 1fbd907de3..9e631e1c2f 100644 --- a/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly +++ b/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly @@ -1,68 +1,22 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.12.2" +\version "2.18.0" \header { - lsrtags = "tweaks-and-overrides, spacing" - -%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d - texidoces = " -Mediante el establecimiento de la propiedad @code{'Y-extent} a un valor -adecuado, todos los objetos @code{DynamicLineSpanner} (reguladores e -indicaciones dinámicas textuales) se pueden alinear con un punto de -referencia común, independientemente de sus dimensiones. De esta -manera, todos los elementos estarán alineados verticalmente, -produciendo así un resultado más satisfactorio. - -Se usa una idea similar para alinear las inscripciones de texto a lo -largo de su línea de base. - -" - doctitlees = "Indicaciones dinámicas y textuales alineadas verticalmente" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 -texidocde = " -Indem man die @code{'Y-extent}-Eigenschaft auf einen passenden Wert setzt, -können alle @code{DynamicLineSpanner}-Objekte (Crescendo-Klammern und -Dynamik-Texte) (hairpins and dynamic texts) unabhängig von ihrer -wirklichen Ausdehnung an einem gemeinsamen Referenzpunkt ausgerichtet werden. -Auf diese Weise ist jedes Element vertikal ausgerichtet und der Notensatz -sieht ansprechender aus. - -Die gleiche Idee wird benutzt, um Textbeschriftungen an ihrer -Grundlinie auszurichten. - -" - doctitlede = "Vertikale Ausrichtung von Dynamik und Textbeschriftung beeinflussen" - -%% Translation of GIT committish: 217cd2b9de6e783f2a5c8a42be9c70a82195ad20 - texidocfr = " -Vous pourrez, en jouant sur la propriété @code{'Y-extent}, aligner les -différents objets @code{DynamicLineSpanner} (souflets ou textuels) -quelle que soit leur étendue, par rapport à un même point de référence. -Tous les éléments seront alors centrés sur une même ligne, ce qui sera -visuellement plus agréable. - -C'est le même principe qui sert à aligner les indications textuelles sur -une ligne de référence. - -" - doctitlefr = "Alignement vertical des nuances indications textuelles" - + lsrtags = "spacing, tweaks-and-overrides, workaround" texidoc = " -By setting the @code{'Y-extent} property to a suitable value, all -@code{DynamicLineSpanner} objects (hairpins and dynamic texts) can be -aligned to a common reference point, regardless of their actual extent. -This way, every element will be vertically aligned, thus producing a -more pleasing output. +All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are +placed with their reference line at least @code{'staff-padding} from +the staff, unless other notation forces them to be farther. Setting +@code{'staff-padding} to a sufficiently large value aligns the dynamics. -The same idea is used to align the text scripts along their baseline. +The same idea, together with @code{\\textLengthOn}, is used to align +the text scripts along their baseline. " doctitle = "Vertically aligned dynamics and textscripts" @@ -77,10 +31,8 @@ music = \relative c' { { \music \break - \override DynamicLineSpanner #'staff-padding = #2.0 - \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5) - \override TextScript #'Y-extent = #'(-1.5 . 1.5) + \override DynamicLineSpanner.staff-padding = #3 + \textLengthOn + \override TextScript.staff-padding = #1 \music } - -