]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/line-arrows.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / line-arrows.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.18.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 \relative c'' {
21   \override TextSpanner.bound-padding = #1.0
22   \override TextSpanner.style = #'line
23   \override TextSpanner.bound-details.right.arrow = ##t
24   \override TextSpanner.bound-details.left.text = #"fof"
25   \override TextSpanner.bound-details.right.text = #"gag"
26   \override TextSpanner.bound-details.right.padding = #0.6
27
28   \override TextSpanner.bound-details.right.stencil-align-dir-y = #CENTER
29   \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER
30
31   \override Glissando.bound-details.right.arrow = ##t
32   \override Glissando.arrow-length = #0.5
33   \override Glissando.arrow-width = #0.25
34
35   a8\startTextSpan gis a4 b\glissando b,
36   g'4 c\stopTextSpan c2
37 }