lilypond-user
[Top][All Lists]
Advanced

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

Re: Distancing custom articulations from the note


From: Federico Bruni
Subject: Re: Distancing custom articulations from the note
Date: Tue, 15 Dec 2009 09:15:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.5) Gecko/20091130 Thunderbird/3.0

Il 13/12/2009 19:10, Luca Rossetto Casel ha scritto:

In my score, I have to use some modified symbols as editorial
annotations. And this is my problem: I have found and adapted to my
needs a snippet to print smaller articulations. Here it is the staccato
one:

smallStaccato =
#(let ((m (make-music 'ArticulationEvent 'articulation-type "staccato")))
(ly:music-set-property! m 'tweaks
(acons 'font-size -3 (ly:music-property m 'tweaks)))
m)

It works, but the articulation is too close to the note where it's
placed. How can I modify it in order to increase the distance between
the articulation and the note?


Ciao Luca,

good to see you here ;-)

Using "distance" as keyword, I've found this snippet in the LSR:
http://lsr.dsi.unimi.it/LSR/Item?id=9

I think it's what you are looking for (see also attached minimal example):
\override Script #'padding = #1.5


Federico

--
http://gnurag.net/blog/
http://fsfe.org/
http://groups.fsf.org/wiki/LibrePlanetItalia

Attachment: custom-staccato.ly
Description: Text Data


reply via email to

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