]> git.donarmstrong.com Git - lilypond.git/blob - input/test/slur-beautiful.ly
e80c29b3a22eafe15977b28f2eee88556e1ab281
[lilypond.git] / input / test / slur-beautiful.ly
1
2 \version "1.9.2"
3 % TODO bit too wordy; edit a bit to cut stuff.  -gp
4 \header { texidoc ="@cindex Slur Beautiful
5 Similarly, the curvature of a slur is adjusted to stay clear of note
6 heads and stems.  When that would increase the curvature too much, the
7 slur is reverted to its default shape.  The threshold for this
8 decision is in Slur's object property @code{beautiful}.
9 It is loosely related to the enclosed area between the slur and the
10 notes.  Usually, the default setting works well, but in some cases you
11 may prefer a curved slur when LilyPond decides for a vertically moved
12 one.  You can indicate this preference by increasing the
13 @code{beautiful} value."
14 }
15
16 \score { \notes {\relative c' {
17   \stemDown \slurUp
18   c16( a' f' a a f a, c,)
19   c( a' f' a a f d, c)
20   \property Voice.Slur \override #'beautiful = #5.0
21   c( a' f' a a f d, c)
22 }}
23 \paper { raggedright = ##t }
24 }