3 texidoc = "Ledger lines should appear at every other location
4 for a variety of staves using both @code{line-count} and
5 @code{line-positions}."
10 c2. | d | e | f \bar ":|"
11 g2. | a | b | c \bar "|:"
12 d2. | e | f | g \bar ":|:"
17 % upper and lower lines both odd
18 #(define mylines '(-1 0 1))
19 \override Staff.StaffSymbol #'line-count = #(length mylines)
20 \override Staff.StaffSymbol #'line-positions = #mylines
25 % upper and lower lines both even
26 #(define mylines '(-2 0 2))
27 \override Staff.StaffSymbol #'line-positions = #mylines
29 \override Staff.StaffSymbol #'line-count = #(length mylines)
34 % lower line odd, upper line even
35 #(define mylines '(-1 0 2))
36 \override Staff.StaffSymbol #'line-positions = #mylines
37 \override Staff.StaffSymbol #'line-count = #(length mylines)
43 \override Staff.StaffSymbol #'line-count = #5
49 \override Staff.StaffSymbol #'line-count = #4