X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcreating-text-spanners.ly;h=5e18e550e2936019fde484e5acf52538dcf0ff33;hb=01df8ad908c92687d0c352e5ad5f067e52809423;hp=f100bd5d45271f04771600c93e709f7c72b0c6eb;hpb=17f11c2f5ab963bfb07b7652b4860dc4dda5540a;p=lilypond.git diff --git a/Documentation/snippets/creating-text-spanners.ly b/Documentation/snippets/creating-text-spanners.ly index f100bd5d45..5e18e550e2 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 +%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.dsi.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.39" +\version "2.17.6" \header { lsrtags = "expressive-marks, text, tweaks-and-overrides" -%% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00 - 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 @@ -27,39 +19,38 @@ to modify its output. doctitle = "Creating text spanners" } % begin verbatim + \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 } -