]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-sign.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / repeat-sign.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 }
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 = #'(-7 -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 #'staff-space = #1.5
57   \override StaffSymbol #'line-positions = #'(-2 0)
58 } {
59   <<
60     \mus
61     \context Voice { s1^"as wide as previous" }
62   >>
63 }
64
65 \new Staff \with {
66   \override StaffSymbol #'line-positions = #'(-2.9 -2)
67 } {
68   <<
69     \mus
70     \context Voice { s1^"narrow staff" }
71   >>
72 }
73
74 \new Staff \with {
75   \override StaffSymbol #'line-positions = #'(-4 -3 -2)
76 } {
77   <<
78     \mus
79     \context Voice { s1^"dense staff" }
80   >>
81 }
82
83 \new Staff \with {
84   \override StaffSymbol #'line-positions = #'(-4 -3 -2)
85   \override StaffSymbol #'staff-space = #0.8
86 } {
87   <<
88     \mus
89     \context Voice { s1^"denser staff" }
90   >>
91 }
92
93 \new Staff \with {
94   \override StaffSymbol #'line-positions = #'(-6 -2 0 5)
95 } {
96   <<
97     \mus
98     \context Voice { s1^"irregular staff, standard spacing" }
99   >>
100 }
101
102 \new Staff \with {
103   \override StaffSymbol #'line-positions = #'(-4 -2 -1)
104   \override StaffSymbol #'staff-space = #1.5
105 } {
106   <<
107     \mus
108     \context Voice { s1^"irregular staff, nonstandard spacing" }
109   >>
110 }
111
112 \new Staff \with {
113   \override StaffSymbol #'thickness = #4
114 } {
115   <<
116     \clef french
117     \mus
118     \context Voice {
119       s1^"thick-lined staff"
120     }
121   >>
122 }
123
124 \new Staff \with {
125   \override StaffSymbol #'line-positions = #'(-2)
126 } {
127   <<
128     \mus
129     \context Voice { s1^"single line staff (zero height)" }
130   >>
131 }
132
133 \new Staff {
134   \stopStaff
135   <<
136     \mus
137     \context Voice { s1^"no staff" }
138   >>
139 }