%% Generated by lilypond-book.py %% Options: [indent=0\mm,verbatim,lilyquote,doctitle,alt=[image of music],texidoc,line-width=160\mm] \include "lilypond-book-preamble.ly" % **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { #(define dump-extents #t) indent = 0\mm line-width = 160\mm - 2.0 * 0.4\in line-width = 160\mm force-assignment = #"" line-width = #(- line-width (* mm 3.000000)) } \layout { } % **************************************************************** % ly snippet: % **************************************************************** \sourcefilename "vertically-aligned-dynamics-and-textscripts.ly" \sourcefileline 0 %% 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.12.3" \header { lsrtags = "tweaks-and-overrides, spacing" 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 :<6ce7f350682dfa99af97929be1dec6b9f1cbc01a> 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" 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. The same idea is used to align the text scripts along their baseline. " doctitle = "Vertically aligned dynamics and textscripts" } % begin verbatim music = \relative c'' { c2\p^\markup { gorgeous } c\f^\markup { fantastic } c4\p c\f\> c c\!\p } { \music \break \override DynamicLineSpanner #'staff-padding = #2.0 \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5) \override TextScript #'Y-extent = #'(-1.5 . 1.5) \music } % **************************************************************** % end ly snippet % ****************************************************************