lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Volta bracket hack


From: Han-Wen Nienhuys
Subject: Re: Volta bracket hack
Date: Sun, 25 Dec 2005 13:33:30 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Sven Axelsson wrote:
On 25/12/05, Han-Wen Nienhuys <address@hidden> wrote:

Sven Axelsson wrote:

This hack for putting volta brackets at a fixed y-position doesn't
work anymore. What is the current incantation?

 \override Staff.VoltaBracket #'Y-offset-callbacks = #(list 
Staff_symbol_referencer::callback)
 \override Staff.VoltaBracket #'staff-position = #10

try #'Y-offset = #10


No, that's not the trick. The documentation says that is the movement
relative to the x-parent, so I still need to set a fixed parent to get
all brackets at the same Y-position.

that's a typo, obviously.  Y-offset is relative to the Y-parent.

all brackets have the same parent, the VerticalAxisGroup for the Staff.
Your original code is equivalent to

 #'Y-offset = #(* staff-space-for-this-staff 0.5 10)

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]