X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcreating-text-spanners.ly;h=d0c209273e2844c9c8e709ead9c0918fad51afda;hb=7c5fcff15f69f2e758d346bea43f226218c4da70;hp=32a58405498b7f1599b73941b58de9e1b9c23b8a;hpb=94408d4a2e538e8812561f29e09116ede58dd042;p=lilypond.git diff --git a/Documentation/snippets/creating-text-spanners.ly b/Documentation/snippets/creating-text-spanners.ly index 32a5840549..d0c209273e 100644 --- a/Documentation/snippets/creating-text-spanners.ly +++ b/Documentation/snippets/creating-text-spanners.ly @@ -1,22 +1,14 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% 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.13.29" +\version "2.18.0" \header { lsrtags = "expressive-marks, text, tweaks-and-overrides" -%% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b - 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 @@ -30,36 +22,34 @@ to modify its output. \paper { ragged-right = ##f } \relative c'' { - \override TextSpanner #'(bound-details left text) = #"bla" - \override TextSpanner #'(bound-details right text) = #"blu" + \override TextSpanner.bound-details.left.text = #"bla" + \override TextSpanner.bound-details.right.text = #"blu" a4 \startTextSpan b4 c a4 \stopTextSpan - \override TextSpanner #'style = #'line - \once \override TextSpanner - #'(bound-details left stencil-align-dir-y) = #CENTER + \override TextSpanner.style = #'line + \once \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER a4 \startTextSpan b4 c a4 \stopTextSpan - \override TextSpanner #'style = #'dashed-line - \override TextSpanner #'(bound-details left text) = + \override TextSpanner.style = #'dashed-line + \override TextSpanner.bound-details.left.text = \markup { \draw-line #'(0 . 1) } - \override TextSpanner #'(bound-details right text) = + \override TextSpanner.bound-details.right.text = \markup { \draw-line #'(0 . -2) } - \once \override TextSpanner #'(bound-details right padding) = #-2 + \once \override TextSpanner.bound-details.right.padding = #-2 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 + \override TextSpanner.dash-period = #10 + \override TextSpanner.dash-fraction = #0.5 + \override TextSpanner.thickness = #10 a4 \startTextSpan b4 c a4 \stopTextSpan } -