[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to create baroque ornaments
From: |
Giso Grimm |
Subject: |
Re: how to create baroque ornaments |
Date: |
Wed, 29 Jun 2011 08:54:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 |
On 06/27/2011 11:26 PM, Nicolas Sceaux wrote:
> Le 27 juin 2011 à 21:23, Giso Grimm a écrit :
>
>> How can I create ornaments like those in the attached example?
>>
>> I tried \markup with creating a path, however, this is always placed
>> outside the staff. The desired ornament should always appear at a fixed
>> distance to the note head (similar to accidentials, but after the note
>> head).
>
> This file might gives some basis for what you want:
> <https://github.com/nsceaux/nenuvar/blob/master/common/side-ornementations.ily>
>
> For instance:
>
> \include "side-ornementations.ily"
> {
> \parc bes'4. \parb c''!8 \para d''4. <\pralla c'' \pralla e''>8 \bar ""
> }
Thanks a lot! This works very nice.
However, I have two questions regarding the fine-tuning of the position:
How can I achieve a position after the dot? I guess I have to change
something near line 86:
(if (and (= direction RIGHT) (ly:grob? dot-column))
(set! (ly:grob-property dot-column 'positioning-done)
(lambda (grob)
(ly:dot-column::calc-positioning-done grob)
(ly:grob-translate-axis! grob width X)))))))
Since I am not (yet) a scheme/lilypond programmer I could not figure out
what to do.
Is it easily possible to vertically shift the musicglyph in one of the
functions para/parb/... without changing the other scripts?
Giso