]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/text/creating-text-spanners.ly
LSR update.
[lilypond.git] / input / lsr / text / creating-text-spanners.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.10.12"
3
4 \header { texidoc = "
5 The \\startTextSpan and \\stopTextSpan commands give you the ability to
6 create text spanners as easily as pedals indications or octavations.
7 Override some properties of the TextSpanner object to modify its
8 output.
9 " }
10
11 \relative c''{
12     \override TextSpanner  #'edge-text = #'("bla" . "blu")
13     a \startTextSpan
14     b c 
15     a \stopTextSpan
16
17     \override TextSpanner  #'dash-period = #2
18     \override TextSpanner  #'dash-fraction = #0.0
19     a \startTextSpan
20     b c 
21     a \stopTextSpan
22
23     \revert TextSpanner #'style
24     \override TextSpanner  #'style = #'dashed-line
25     \override TextSpanner  #'edge-height = #'(1 . -2)
26     a \startTextSpan
27     b c 
28     a \stopTextSpan
29
30
31     \set Staff.middleCPosition = #-13
32
33     \override TextSpanner  #'dash-period = #10
34     \override TextSpanner  #'dash-fraction = #.5
35     \override TextSpanner  #'thickness = #10
36     a \startTextSpan
37     b c 
38     a \stopTextSpan
39     \set Staff.middleCPosition = #-6    
40 }
41