lilypond-user
[Top][All Lists]
Advanced

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

Re: Script priority and vertical ordering of scripts on chords


From: Neil Puttock
Subject: Re: Script priority and vertical ordering of scripts on chords
Date: Tue, 31 May 2011 17:37:32 +0100

On 31 May 2011 00:01, Nick Payne <address@hidden> wrote:

> The documentation on script-priority in s.1.3.1 of the NR ("Controlling the
> vertical ordering of scripts") only mentions scripts attached to single
> notes. Maybe a sentence or two should be added regarding chords.
> Paraphrasing what you have written above: "Note that if scripts are attached
> to different notes in a chord, scripts attached to a lower note will always
> appear below scripts attached to a higher note, regardless of any
> script-priority that has been set."

This isn't true.  The problem in your snippet is the lack of breathing
space between the priorities: when each script is positioned, a new
priority is calculated based on its initial priority, direction and
staff-position.  If you use priorities which are so close (i.e., -101
and -100) the correct order is lost.

Cheers,
Neil



reply via email to

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