Hi,

On Sun, Jan 25, 2015 at 5:50 PM, David Nalesnik <david.nales...@gmail.com>
wrote:

>
>
> On Sun, Jan 25, 2015 at 2:15 PM, David Nalesnik <david.nales...@gmail.com>
> wrote:
>
>> Hi Kieren,
>>
>> On Sun, Jan 25, 2015 at 1:54 PM, Kieren MacMillan <
>> kieren_macmil...@sympatico.ca> wrote:
>>
>>> Hi David,
>>>
>>> > This situation with staccato dots is more complex, however.  Gould
>>> says: "Staccato dots and wedges by themselves look best centred on a stem
>>> ... although many editions do centre them on the notehead" (118).
>>>
>>> Good point.
>>> Perhaps it could/should be a parameter?
>>>
>>>
>> Certainly.  I've been thinking about this situation.  The difficulty is
>> that the X-offset of the staccato dot (Script) is set independently of the
>> ScriptColumn, of which it has no knowledge (i.e., a pointer).  This makes
>> "position yourself this way unless there are simultaneous articulations"
>> impossible at the moment.
>>
>
> Looks like it's not a problem giving a Script a pointer to a ScriptColumn
> grob.  Will investigate if I can modify the X-offset callback for Script to
> deal with the staccato situation.
>
>
It's definitely possible!  Using a pointer to a ScriptColumn, the X-offset
callback for Script can be modified to (1) center staccatos over the stem
if no other articulations are present; (2) center them over the note head
if multiple articulations are present.  I'll go over this some more, and if
all goes well I should have a patch up for discussion.

Best,
David
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to