Super merci, je suis un peu bourin avec le schème.
--
Martial
Le jeu. 16 mai 2019 à 23:57, Valentin Villenave <
address@hidden> a écrit :
On 5/16/19, Martial R <address@hidden> wrote:
> voici mis en fonction valable en version 2.19.
Ou même encore plus simple, et compatible avec 2.18 :
%%%%%%%%%%%%%%%%
PlaceLyric=
#(define-music-function (parser location y) (number?)
(let ((posx-posy (cons 0 (- y))))
#{
\override LyricText.extra-offset = #posx-posy
\override LyricExtender.extra-offset = #posx-posy
\override LyricHyphen.extra-offset = #posx-posy
\override StanzaNumber.extra-offset = #posx-posy
#}))
% A écrire ainsi
\relative { c' c c d }
\addlyrics {
bla bla bla …
}
\addlyrics {
\PlaceLyric 5
bla bla bla …
}
%%%%%%%%%%%%%%%%%%%%%
V.