]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/extending-a-trillspanner.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / extending-a-trillspanner.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 = "staff-notation, syntax-and-expressions, tweaks-and-overrides"
11
12   texidoc = "
13 For @code{TrillSpanner}, the @code{minimum-length} property becomes
14 effective only if the @code{set-spacing-rods} procedure is called
15 explicitly.  To do this, the @code{springs-and-rods} property should be
16 set to @code{ly:spanner::set-spacing-rods}.
17
18 "
19   doctitle = "Extending a TrillSpanner"
20 } % begin verbatim
21
22 \relative c' {
23 \key c\minor
24   \time 2/4
25   c16( as') c,-. des-.
26   \once\override TrillSpanner.minimum-length = #15
27   \once\override TrillSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
28   \afterGrace es4
29   \startTrillSpan { d16[( \stopTrillSpan es)] }
30   c( c' g es c g' es d
31   \hideNotes
32   c8)
33 }