Han-Wen Nienhuys [mailto:
address@hidden] wrote:
>
address@hidden wrote:
> > Is there already a non-hackish way of putting horizontal brackets (voltas and
> > analysis brackets) at a *fixed* y-position unaffected by the bracketed music?
> > If not I'm willing to sponsor such a feature that for both volta brackets and
> > analysis brackets lets me do, for instance
> >
> > \override HorizontalBracket #'fixed-position = #'(2 . 3) % use octave and note pos
> >
> > or perhaps using the padding property together with a flag. Now the bracket will
> > all be put at that position, even if the music overlaps them.
> >
> > How about that? And I actually consider it a bug that Lilypond doesn't do this
> > as default.
> >
>
> try this
>
>
> \layout {
> \context {
> \Staff \consists "Horizontal_bracket_engraver"
> }
> raggedright = ##t
> }
>
>
> \relative c {
> \once \override Staff.HorizontalBracket #'Y-offset-callbacks = #(list
> Staff_symbol_referencer::callback)
> \once \override Staff.HorizontalBracket #'staff-position = #5
> \once \override Staff.HorizontalBracket #'direction = #UP
> c4\startGroup c'''4 c,,,4\stopGroup
> }
That is very close to what I need. It works perfectly for analysis brackets
which puts the volta brackets a little too close to the staff. If I could raise
those one more note space it would be perfect.
--
Sven Axelsson