[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Do brackets always result in barlines?
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Do brackets always result in barlines? |
Date: |
Fri, 18 Nov 2005 10:39:16 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Trevor Bača writes:
> Question:
>
> Is it always the case that staves that bracket together (with flared
> brackets, square brackets, piano braces, whatever) also always *bar*
> together?
Why do you ask?
In LilyPond, the barring together is performed by the
Span_bar_engraver. It will only bar together if the staves both have
a bar at the same time. You'll also have to juggle with the timing-
translator to allow different time signatures at all. Consider the
snippet below, and see what happers when you uncomment the span-bar
bit.
Jan.
\layout {
\context {
\Score
\remove "Timing_translator"
\remove "Default_bar_line_engraver"
}
\context {
\Staff
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
}
\context {
\PianoStaff
% \remove "Span_bar_engraver"
}
}
\context PianoStaff <<
\context Staff = md { \time 3/4 c d e c d e c d e c d e }
\context Staff = mg { \time 4/4 \clef bass c1 c c }
>>
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org