[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Putting horizontal brackets at a fixed y-position
From: |
Han-Wen Nienhuys |
Subject: |
Re: Putting horizontal brackets at a fixed y-position |
Date: |
Mon, 26 Sep 2005 17:02:54 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720) |
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
}
If this answer satisfies you, please consider a donation.
thanks,
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen