]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/slur-script.ly
* scm/define-grob-properties.scm (avoid-slur): New property.
[lilypond.git] / input / regression / slur-script.ly
1
2 \header {
3
4     texidoc = "A slur avoids collisions with scripts.  Articulations
5     go inside the slur, dynamic markings go outside the slur.
6     Fingerings and texts are placed either inside or outside.
7
8     For different configurations, the defaults can be changed, and
9     scripts can be moved manually."
10   }
11
12 \version "2.6.0"
13 \layout {
14     raggedright = ##t
15 }
16 \relative
17 {
18     b4-.( b-. b-.)
19     b(-.  d-.)
20
21     b_1( f'_1_2_3 c_3_4_5 a)
22     b( f'\p b,)
23     
24     %% Do not force dynamics outside slur, only avoid collisions.
25     \override DynamicLineSpanner #'avoid-slur = #'()
26     \override DynamicLineSpanner #'padding = #0.3
27     b( e\p e\f b)
28     
29     c_\markup { \italic {"cresc."}}( c c)
30     \once \override Script #'padding = #1.2
31     b-.( b-.
32     \once \override Script #'padding = #1.2
33     b-.)
34     e='16[-.( f-.)]
35 }