]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/hairpin-shorten-pair.ly
Web-ja: update introduction
[lilypond.git] / input / regression / hairpin-shorten-pair.ly
1 \version "2.19.55"
2
3 \header {
4   texidoc = "The ends of hairpins may be offset with the
5 @code{shorten-pair} property.  Positive values offset ends to the right,
6 negative values to the left.
7 "
8 }
9
10 hairpin = {
11   c'1~\<
12   c'2~ c'\!
13 }
14
15 {
16   \hairpin
17   \once \override Hairpin.shorten-pair = #'(2 . 2)
18   \hairpin
19   \once \override Hairpin.shorten-pair = #'(-2 . -2)
20   \hairpin
21   \break
22   \alterBroken shorten-pair #'((10 . 0) (-2 . -20)) Hairpin
23   c'1~\<
24   \break
25   c'2~ c'\!
26 }