]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-path-linecap.ly
Merge branch 'stable/2.16' into staging
[lilypond.git] / input / regression / markup-path-linecap.ly
1 \version "2.16.0"
2
3 \header {
4   texidoc = "
5 The @code{\\path} markup command supports the
6 @code{line-cap-style} property with values of @code{butt},
7 @code{round}, and @code{square}.
8 "
9 }
10
11 myPath =
12 #'((moveto 0 0) (lineto 5 0))
13
14 \markup {
15   \column {
16     \override #'(line-cap-style . butt) {
17       \path #1 #myPath
18     }
19     \override #'(line-cap-style . round) {
20       \path #1 #myPath
21     }
22     \override #'(line-cap-style . square) {
23       \path #1 #myPath
24     }
25   }
26 }