X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fcreating-text-spanners.ly;h=0fd479c4048f42bfe9a14bd3fe88e55792641b1c;hb=b97565a9af1c13369ac7e7e9ea80c2638dbc0e51;hp=04992c13d3893d1274e5f393c675e97f5897dacc;hpb=b59eedcb6fbda723022e42121880fb8c27618eda;p=lilypond.git diff --git a/input/lsr/creating-text-spanners.ly b/input/lsr/creating-text-spanners.ly index 04992c13d3..0fd479c404 100644 --- a/input/lsr/creating-text-spanners.ly +++ b/input/lsr/creating-text-spanners.ly @@ -1,10 +1,21 @@ %% 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.11.49" +\version "2.13.1" \header { lsrtags = "expressive-marks, text, tweaks-and-overrides" +%% Translation of GIT committish: dff50e8e1d3134657a6b6203b9c93826dc4cef65 + texidoces = " +Las instrucciones @code{\\startTextSpan} y @code{\\stopTextSpan} +permiten la creación de elementos de extensión textuales tan +fácilmente como indicaciones de pedal u +octavaciones. Sobreescribimos ciertas propiedades del objeto +@code{TextSpanner} para modificar su salida. + +" + doctitlees = "Crear elementos de extensión textuales" + texidoc = " The @code{\\startTextSpan} and @code{\\stopTextSpan} commands allow the creation of text spanners as easily as pedal indications or @@ -14,32 +25,39 @@ to modify its output. " doctitle = "Creating text spanners" } % begin verbatim + +\paper { ragged-right = ##f } + \relative c'' { - \override TextSpanner #'edge-text = #'("bla" . "blu") - a \startTextSpan - b c - a \stopTextSpan + \override TextSpanner #'(bound-details left text) = #"bla" + \override TextSpanner #'(bound-details right text) = #"blu" + a4 \startTextSpan + b4 c + a4 \stopTextSpan - \override TextSpanner #'dash-period = #2 - \override TextSpanner #'dash-fraction = #0.0 - a \startTextSpan - b c - a \stopTextSpan + \override TextSpanner #'style = #'line + \once \override TextSpanner + #'(bound-details left stencil-align-dir-y) = #CENTER + a4 \startTextSpan + b4 c + a4 \stopTextSpan - \revert TextSpanner #'style - \override TextSpanner #'style = #'dashed-line \override TextSpanner #'bound-details #'left #'text = \markup { \draw-line #'(0 . 1) } - \override TextSpanner #'bound-details #'right #'text = \markup { \draw-line #'(0 . -2) } + \override TextSpanner #'style = #'dashed-line + \override TextSpanner #'(bound-details left text) = + \markup { \draw-line #'(0 . 1) } + \override TextSpanner #'(bound-details right text) = + \markup { \draw-line #'(0 . -2) } + \once \override TextSpanner #'(bound-details right padding) = #-2 - a \startTextSpan - b c - a \stopTextSpan + a4 \startTextSpan + b4 c + a4 \stopTextSpan \set Staff.middleCPosition = #-13 - \override TextSpanner #'dash-period = #10 - \override TextSpanner #'dash-fraction = #0.5 - \override TextSpanner #'thickness = #10 - a \startTextSpan - b c - a \stopTextSpan - \set Staff.middleCPosition = #-6 + \override TextSpanner #'dash-period = #10 + \override TextSpanner #'dash-fraction = #0.5 + \override TextSpanner #'thickness = #10 + a4 \startTextSpan + b4 c + a4 \stopTextSpan }