Han-Wen Nienhuys [mailto:[EMAIL PROTECTED]] wrote:
> [EMAIL PROTECTED] 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
but it appears that the staff-position can't be more than 8 (or perhaps 7.5),
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
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to