X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcreating-text-spanners.ly;h=5e18e550e2936019fde484e5acf52538dcf0ff33;hb=01df8ad908c92687d0c352e5ad5f067e52809423;hp=a230bf1e36a7bfd8c11970828242c8c2efffd18b;hpb=1141320a0957c1da3aeb560751a7e42d1e6593ae;p=lilypond.git diff --git a/Documentation/snippets/creating-text-spanners.ly b/Documentation/snippets/creating-text-spanners.ly index a230bf1e36..5e18e550e2 100644 --- a/Documentation/snippets/creating-text-spanners.ly +++ b/Documentation/snippets/creating-text-spanners.ly @@ -4,22 +4,11 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.14.0" +\version "2.17.6" \header { lsrtags = "expressive-marks, text, tweaks-and-overrides" -%% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb - 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,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 } -