]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-sign.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / repeat-sign.ly
1 \version "2.17.6"
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 }
6
7
8 mus = \context Voice { \relative f' { d e f g \bar ":|." } }
9
10 \new Staff {
11   <<
12     \mus
13     \context Voice { s1^"standard staff" }
14   >>
15 }
16
17 \new Staff \with {
18   \override StaffSymbol.line-positions = #'(-6 -4 -2 0 2)
19 } {
20   <<
21     \clef french
22     \mus
23     \context Voice { s1^"excentric staff" }
24   >>
25 }
26
27 \new Staff \with {
28   \override StaffSymbol.line-count = #4
29 } {
30   <<
31     \mus
32     \context Voice { s1^"standard four-line staff" }
33   >>
34 }
35
36 \new Staff \with {
37   \override StaffSymbol.line-positions = #'(-2 0 2 4)
38 } {
39   <<
40     \mus
41     \context Voice { s1^"excentric four-line staff" }
42   >>
43 }
44
45 \new Staff \with {
46   \override StaffSymbol.line-positions = #'(-8 -4)
47 } {
48   <<
49     \clef french
50     \mus
51     \context Voice { s1^"very excentric staff" }
52   >>
53 }
54
55 \new Staff \with {
56   \override StaffSymbol.line-positions = #'(-2 0)
57   \override StaffSymbol.staff-space = #1.5
58 } {
59   <<
60     \mus
61     \context Voice { s1^"widened by staff-space" }
62   >>
63 }
64
65 \new Staff \with {
66   \override StaffSymbol.line-positions = #'(-2 0)
67 } {
68   <<
69     \mus
70     \context Voice { s1^"dots outside" }
71   >>
72 }
73
74 \new Staff \with {
75   \override StaffSymbol.line-positions = #'(-2.9 -2)
76 } {
77   <<
78     \mus
79     \context Voice { s1^"narrow staff" }
80   >>
81 }
82
83 \new Staff \with {
84   \override StaffSymbol.line-positions = #'(-4 -3 -2)
85 } {
86   <<
87     \mus
88     \context Voice { s1^"dense staff" }
89   >>
90 }
91
92 \new Staff \with {
93   \override StaffSymbol.line-positions = #'(-6 -5 -2 0 3 5)
94 } {
95   <<
96     \mus
97     \context Voice { s1^"irregular staff, standard spacing" }
98   >>
99 }
100
101 \new Staff \with {
102   \override StaffSymbol.line-positions = #'(-4 -2 -1)
103   \override StaffSymbol.staff-space = #1.5
104 } {
105   <<
106     \mus
107     \context Voice { s1^"irregular staff, nonstandard spacing" }
108   >>
109 }
110
111 \new Staff \with {
112   \override StaffSymbol.line-positions = #'(-10 -2 6 14)
113 } {
114   <<
115     \mus
116     \context Voice { s1^"dots in outer spaces" }
117   >>
118 }
119
120 \new Staff \with {
121   \override StaffSymbol.line-positions = #'(-5 -4 -2 2 4 6)
122 } {
123   <<
124     \mus
125     \context Voice { s1^"dots in the middle" }
126   >>
127 }
128
129 \new Staff \with {
130   \override StaffSymbol.thickness = #4
131 } {
132   <<
133     \clef french
134     \mus
135     \context Voice {
136       s1^"thick-lined staff"
137     }
138   >>
139 }
140
141 \new Staff \with {
142   \override StaffSymbol.line-positions = #'(-2)
143 } {
144   <<
145     \mus
146     \context Voice { s1^"single line staff (zero height)" }
147   >>
148 }
149
150 \new Staff {
151   \stopStaff
152   <<
153     \mus
154     \context Voice { s1^"no staff" }
155   >>
156 }