]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/line-arrows.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / line-arrows.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "expressive-marks, tweaks-and-overrides"
11
12   texidoc = "
13 Arrows can be applied to text-spanners and line-spanners (such as the
14 Glissando).
15
16 "
17   doctitle = "Line arrows"
18 } % begin verbatim
19
20
21 \relative c'' {
22   \override TextSpanner #'bound-padding = #1.0
23   \override TextSpanner #'style = #'line
24   \override TextSpanner #'(bound-details right arrow) = ##t
25   \override TextSpanner #'(bound-details left text) = #"fof"
26   \override TextSpanner #'(bound-details right text) = #"gag"
27   \override TextSpanner #'(bound-details right padding) = #0.6
28
29   \override TextSpanner #'(bound-details right stencil-align-dir-y) = #CENTER
30   \override TextSpanner #'(bound-details left stencil-align-dir-y) = #CENTER
31
32   \override Glissando #'(bound-details right arrow) = ##t
33   \override Glissando #'arrow-length = #0.5
34   \override Glissando #'arrow-width = #0.25
35
36   a8\startTextSpan gis a4 b\glissando b,
37   g'4 c\stopTextSpan c2
38 }