Federico Bruni ha scritto:
Il 13/12/2009 19:10, Luca Rossetto Casel ha scritto:
[...] 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?
[...]
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
Dear Federico!
Thank you! I've made some tests, and I found a way to insert the
customized padding into the snippet itself. Here:
% Smaller articulation (staccato) with increased distance from the notes
smallStaccato =
#(let ((m (make-music 'ArticulationEvent 'articulation-type "staccato")))
(ly:music-set-property! m 'tweaks
(acons 'font-size -3 (ly:music-property m 'tweaks)))
(ly:music-set-property! m 'tweaks
(acons 'padding 0.50 (ly:music-property m 'tweaks)))
m)
Federico
Ciao! :-)
Luca
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Festeggia il Capodanno a Riccione. Pacchetto pensione completa,
* vin br�le, cenone di S.Silvestro, late check out . Guarda
* l�offerta�
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10013&d=18-12
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user