]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/creating-text-spanners.ly
Doc-es: pre-merge update of texidoc committishes.
[lilypond.git] / input / lsr / creating-text-spanners.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 %% Note: this file works from version 2.12.0
4 \version "2.12.0"
5
6 \header {
7 %% Translation of GIT committish: 740b9a6c16eb30a84b216d23aeb848aa1b632be6
8   texidoces = "
9 Las instrucciones @code{\\startTextSpan} y @code{\\stopTextSpan}
10 permiten la creación de elementos de extensión textuales tan
11 fácilmente como indicaciones de pedal u
12 octavaciones. Sobreescribimos ciertas propiedades del objeto
13 @code{TextSpanner} para modificar su salida.
14
15 "
16   doctitlees = "Crear elementos de extensión textuales"
17
18   lsrtags = "expressive-marks, text, tweaks-and-overrides"
19   texidoc = "The @code{\\startTextSpan} and @code{\\stopTextSpan}
20 commands allow the creation of text spanners as easily as pedal
21 indications or octavations.  Override some properties of the
22 @code{TextSpanner} object to modify its output."
23
24   doctitle = "Creating text spanners"
25 } % begin verbatim
26
27
28 \paper { ragged-right = ##f }
29
30 \relative c'' {
31   \override TextSpanner #'(bound-details left text) = #"bla"
32   \override TextSpanner #'(bound-details right text) = #"blu"
33   a4 \startTextSpan
34   b4 c
35   a4 \stopTextSpan
36   
37   \override TextSpanner #'style = #'line
38   \once \override TextSpanner
39     #'(bound-details left stencil-align-dir-y) = #CENTER
40   a4 \startTextSpan
41   b4 c
42   a4 \stopTextSpan
43   
44   \override TextSpanner #'style = #'dashed-line
45   \override TextSpanner #'(bound-details left text) =
46     \markup { \draw-line #'(0 . 1) }
47   \override TextSpanner #'(bound-details right text) =
48     \markup { \draw-line #'(0 . -2) }
49   \once \override TextSpanner #'(bound-details right padding) = #-2
50
51   a4 \startTextSpan
52   b4 c
53   a4 \stopTextSpan
54   
55   \set Staff.middleCPosition = #-13
56   \override TextSpanner #'dash-period = #10
57   \override TextSpanner #'dash-fraction = #0.5
58   \override TextSpanner #'thickness = #10
59   a4 \startTextSpan
60   b4 c
61   a4 \stopTextSpan
62 }