]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/creating-text-spanners.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / creating-text-spanners.ly
index f2e961f7ab4afe664b23606c2e9009c55bc1c1e6..d0c209273e2844c9c8e709ead9c0918fad51afda 100644 (file)
@@ -1,24 +1,13 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% 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.14.2"
+\version "2.18.0"
 
 \header {
-  lsrtags = "text, tweaks-and-overrides, expressive-marks"
-
-%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
-  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"
+  lsrtags = "expressive-marks, text, tweaks-and-overrides"
 
   texidoc = "
 The @code{\\startTextSpan} and @code{\\stopTextSpan} commands allow the
@@ -30,40 +19,37 @@ 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
 }
-