]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-sign-layout-size.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / repeat-sign-layout-size.ly
1 \version "2.16.0"
2 \header {
3   texidoc = "The two dots of a repeat sign should be symmetric
4 to the staff centre and avoid staff lines even for exotic staves.
5 Test layout-set-staff-size."
6 }
7
8 \score {
9   <<
10     \context Staff = "s1" \with {
11       \override StaffSymbol #'staff-space = #0.4
12     } {
13       s1 \bar ":|"
14     }
15
16     \context Staff = "s2" \with {
17       \override StaffSymbol #'staff-space = #0.5
18     } {
19       s1 \bar ":|"
20     }
21   >>
22
23   \layout {
24     #(layout-set-staff-size 10)
25   }
26 }
27
28 \score
29 {
30   <<
31     \context Staff = "s1" \with {
32       \override StaffSymbol #'staff-space = #0.7
33     } {
34       s1 \bar ":|"
35     }
36
37     \context Staff = "s2" \with {
38       \override StaffSymbol #'staff-space = #0.75
39     } {
40       s1 \bar ":|"
41     }
42   >>
43 }