[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help on staves layout and repeat bars
From: |
Dominique Faure |
Subject: |
Help on staves layout and repeat bars |
Date: |
Mon, 8 Oct 2012 15:55:33 +0200 |
Hi,
I wanted to get grouped staves bound together on line endings, with
repeat bars being the solely bars drawn through all the staves.
The following code address the first requirement as expected, but how
could I handle the repeat bars?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.16.0"
notes = \relative c' {
r1 r1
\repeat volta 2 { r1 r1 }
\repeat volta 2 { r1 r1 }
r1 r1
}
\score {
\new StaffGroup <<
\new Staff { \notes }
\new Staff { \notes }
>>
\layout {
\override Score.SpanBar #'break-visibility = #center-invisible
% ...also hide the repeat bar span
ragged-right = ##t
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
--
Dominique
- Help on staves layout and repeat bars,
Dominique Faure <=