]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/line-arrows.ly
* input/regression/line-arrows.ly: new file.
[lilypond.git] / input / regression / line-arrows.ly
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 \version "2.5.18"
3
4 %% demonstration of line arrows
5 %% By Jonatan Liljedahl <http://kymatica.com>
6
7 \relative c'' {
8     %% Arrow between two texts    
9     \override TextSpanner #'edge-text = #'("foo" . "bar")
10     \override TextSpanner #'dash-fraction = #'()
11     \override TextSpanner #'style = #'line
12     \override TextSpanner #'arrow = ##t
13     
14     %% Default arrow size
15 %    \override TextSpanner #'arrow-length = #1.3
16 %    \override TextSpanner #'arrow-width = #0.5
17
18     %% We can put arrows to a glissando line
19     \override Glissando #'arrow = ##t
20     
21     a8\startTextSpan gis8\< a2 b4\glissando
22     c,4 g'\! c\stopTextSpan c
23 }