Claudia wrote:
Hi, I need to draw several superimposed -- although not nested --
brackets in order to evidence two
melodic overlapping structures for teaching purposes. Does
anyone knows how to do it?
I've tried Analysis brackets but the groupings are presumed nested
and so, the group openings and
closings are interpreted as in a heap.
I'm looking for something like:
\openGroup1 c d e f \openGroup2 g a b c \closeGroup1 d e fis g
\closeGroup2
As the Horizontal_bracket_engraver lives at voice level, overlapping
brackets need to live in different voices.
\version "2.12.2"
upper = \relative c'' {
c\startGroup d e s4
g a b c\stopGroup
d e fis s4
}
lower = \relative c'' {
s2. f4\startGroup
s1
s2. g'4\stopGroup
}
\score {
\new Staff {
<<
\voiceOne \upper
\voiceThree \lower
>>
}
}
\layout {
\context {
\Voice
\consists "Horizontal_bracket_engraver"
}
}
Btw, you can put any bracket above the staff with \once \override
HorizontalBracket #'direction = #UP
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user