lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2535 in lilypond: Staccato on stem side should


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2535 in lilypond: Staccato on stem side should be aligned to the notehead when other articulations are present
Date: Tue, 27 Jan 2015 00:01:01 +0000

Updates:
        Labels: Patch-new

Comment #6 on issue 2535 by address@hidden: Staccato on stem side should be aligned to the notehead when other articulations are present
https://code.google.com/p/lilypond/issues/detail?id=2535#c6

Issue 2535: Staccato on stem side alignment when other articulations are present

The default positioning of staccato dots in combination with other articulations is poor, because the dot is positioned midway between the center of the note head
and the stem, while all other scripts are centered on the note head.

A mechanism is needed to allow a staccato dot to be positioned differently when alone and when in combination with other articulations. The property 'toward-stem-shift controls the alignment of scripts appearing on the side of the stem. This patch changes the type of 'toward-stem-shift to number-pair rather than number. The first member of the pair indicates the shift when alone, the second the shift when the script is contained by a ScriptColumn object. The vast majority of articulations default to '(0.0 . 0.0), indicating that they are always centered above the note head when on the stem side. Three articulations--staccato, staccatissimo, and stopped--are set to '(1.0 . 0.0), either directly above the stem or centered on the note head, ensuring that combinations like accent-staccato will be properly aligned by default.

The previous default of 0.5 for staccato has been modified, in accordance with Gould's
recommendation.

In order to allow a script to recognize the column organizing it, a pointer to
ScriptColumn, called 'script-column, has been added to script-interface.

http://codereview.appspot.com/196260043

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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