]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/slur-script.ly
* input/regression/slur-script.ly: Add example of reverting
[lilypond.git] / input / regression / slur-script.ly
1
2 \header {
3
4     texidoc = "A slur avoids collisions with scripts.  Only articulations
5     go inside the slur, dynamic markings, fingerings texts etc. go outside
6     of slur.
7
8     For different configurations, the scripts can be moved manually."
9     }
10
11 \version "2.6.0"
12 \layout {
13     raggedright = ##t
14 }
15 \relative
16 {
17     b4-.( b-. b-.)
18     b(-.  d-.)
19
20     b_1( b b_1_2_3)
21     %% Allow Fingering to go inside slur, by reverting the #f value.
22     \once \revert Fingering #'inside-slur
23     b( d_1 b)
24     c_\markup { \italic {"cresc."}}( f c)
25     c( c\f c)
26     \once \override Script #'padding = #1.2
27     b-.( b-.
28     \once \override Script #'padding = #1.2
29     b-.)
30     e='16[-.( f-.)]
31 }