lilypond-user
[Top][All Lists]
Advanced

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

Re: Adjusting beam slope with cross-staff notes


From: David Nalesnik
Subject: Re: Adjusting beam slope with cross-staff notes
Date: Wed, 30 Jan 2013 06:52:07 -0600

Hi Javier,

On Tue, Jan 29, 2013 at 11:45 PM, Javier Ruiz-Alma <address@hidden> wrote:
I have first beamed note in the bass, and 3 more in the treble staff.  I wish to adjust the beam slope using "\override Beam #'positions", as the automatically-calculated beam slope is overinfluenced by the lone cross-staff note.
However, the adjustment values are anchored relative to the centerline of the (starting) bass staff.  I wish to have the override values anchored to the treble staff. Is it possible?

I don't know of any automatic way to do this.

I've attached a function which may or may not be of help to you.  Rather than specifying the absolute values for positions, it allows you to indicate displacements from the values LilyPond would use by default.  I use your example to show how it works in practice.

You can also use it to offset other properties of other grobs, including separate offsets for pieces of grobs across staff breaks.

(On a side note, this is fairly old, and I see that I should update the function "offset" to deal more elegantly with names of grobs in other contexts.  This version assumes that you specify them like so: "Staff.Clef".)

Hope this proves helpful.

Best,
David

Attachment: beam-slopes.ly
Description: Binary data


reply via email to

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