\score {
<<
\context Staff = "s1" \with {
- \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
- \override StaffSymbol #'staff-space = #0.7
+ \override StaffSymbol #'staff-space = #0.6
} {
s1 \bar ":|"
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.6
+ \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ \override StaffSymbol #'staff-space = #0.7
} {
s1 \bar ":|"
}
+
+ \context Staff = "s3" {
+ s1 \bar ":|"
+ }
>>
}
\score {
<<
- \context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #1.6
- } {
+ \context Staff = "s1" {
s1 \bar ":|"
}
\context Staff = "s2" \with {
\override StaffSymbol #'staff-space = #1.7
- \override StaffSymbol #'line-count = #4
+ \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ } {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s3" \with {
+ \override StaffSymbol #'staff-space = #3
} {
s1 \bar ":|"
}
} {
s1 \bar ":|"
}
+
+ \context Staff = "s3" {
+ s1 \bar ":|"
+ }
>>
}
\score {
<<
- \context Staff = "s1" \with {
- \override StaffSymbol #'staff-space = #0.25
- } {
+ \context Staff = "s1" {
s1 \bar ":|"
}
\context Staff = "s2" \with {
- \override StaffSymbol #'staff-space = #0.2
- \override StaffSymbol #'line-count = #4
+ \override StaffSymbol #'staff-space = #0.33
+ } {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s3" \with {
+ \override StaffSymbol #'staff-space = #0.33
+ \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
} {
s1 \bar ":|"
}
--- /dev/null
+\version "2.17.2"
+\header {
+ texidoc = "The two dots of a repeat sign should be symmetric
+to the staff centre and avoid staff lines even for exotic staves.
+Test set-global-staff size 10 (with layout-set-staff-size)."
+}
+
+#(set-global-staff-size 5)
+
+\score {
+ <<
+ \context Staff = "s1" \with {
+ \override StaffSymbol #'staff-space = #0.7
+ } {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s2" \with {
+ \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ } {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s3" {
+ s1 \bar ":|"
+ }
+ >>
+}
+
+\score {
+ <<
+ \context Staff = "s1" {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s2" \with {
+ \override StaffSymbol #'staff-space = #3
+ \override StaffSymbol #'line-positions = #'(-4 -2 0 2)
+ } {
+ s1 \bar ":|"
+ }
+
+ \context Staff = "s3" \with {
+ \override StaffSymbol #'staff-space = #6
+ } {
+ s1 \bar ":|"
+ }
+ >>
+
+ \layout {
+ #(layout-set-staff-size 30)
+ }
+}
} {
s1 \bar ":|"
}
+
+ \context Staff = "s3" {
+ s1 \bar ":|"
+ }
>>
\layout {
} {
s1 \bar ":|"
}
+
+ \context Staff = "s3" {
+ s1 \bar ":|"
+ }
>>
}
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-7 -4)
+ \override StaffSymbol #'line-positions = #'(-8 -4)
} {
<<
\clef french
}
\new Staff \with {
- \override StaffSymbol #'staff-space = #1.5
\override StaffSymbol #'line-positions = #'(-2 0)
+ \override StaffSymbol #'staff-space = #1.5
} {
<<
\mus
- \context Voice { s1^"as wide as previous" }
+ \context Voice { s1^"widened by staff-space" }
>>
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-2.9 -2)
+ \override StaffSymbol #'line-positions = #'(-2 0)
} {
<<
\mus
- \context Voice { s1^"narrow staff" }
+ \context Voice { s1^"dots outside" }
>>
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-4 -3 -2)
+ \override StaffSymbol #'line-positions = #'(-2.9 -2)
} {
<<
\mus
- \context Voice { s1^"dense staff" }
+ \context Voice { s1^"narrow staff" }
>>
}
\new Staff \with {
\override StaffSymbol #'line-positions = #'(-4 -3 -2)
- \override StaffSymbol #'staff-space = #0.8
} {
<<
\mus
- \context Voice { s1^"denser staff" }
+ \context Voice { s1^"dense staff" }
>>
}
\new Staff \with {
- \override StaffSymbol #'line-positions = #'(-6 -2 0 5)
+ \override StaffSymbol #'line-positions = #'(-6 -5 -2 0 3 5)
} {
<<
\mus
>>
}
+\new Staff \with {
+ \override StaffSymbol #'line-positions = #'(-10 -2 6 14)
+} {
+ <<
+ \mus
+ \context Voice { s1^"dots in outer spaces" }
+ >>
+}
+
+\new Staff \with {
+ \override StaffSymbol #'line-positions = #'(-5 -4 -2 2 4 6)
+} {
+ <<
+ \mus
+ \context Voice { s1^"dots in the middle" }
+ >>
+}
+
\new Staff \with {
\override StaffSymbol #'thickness = #4
} {
--- /dev/null
+\header
+{
+ texidoc = "How a repeat sign looks in tablature."
+}
+
+\version "2.17.2"
+\paper
+{
+ ragged-right = ##t
+}
+
+\new TabStaff
+{
+ \repeat volta 2 s1
+}