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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user