lilypond-user-fr
[Top][All Lists]
Advanced

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

Re: Spanners (encore une question)


From: Martial R
Subject: Re: Spanners (encore une question)
Date: Thu, 9 Feb 2023 11:54:05 +0100

reBonjour,
Je ruserai  ainsi



<< {  
  { r1
    R1 \break c''4^\wahw r4 r2 r1 } } \\ { s1 _\textSp"Solo break" s4 s4 s4 s4\stop }
 >>
%§-------------------------
stop = \stopTextSpan
txtSp = #(define-event-function (str)(markup?)
           #{
            \tweak bound-details.left.text \markup $str
           % \tweak bound-details.left.text \markup \normal-text $str
            \tweak style #'line % mettre en commentaire pour des pointillés
            \tweak dash-period #0.8
            \tweak bound-details.left.stencil-align-dir-y #0
            \tweak bound-details.left-broken.attach-dir -1 % pos y du trait
            \tweak bound-details.left-broken.padding 1.5
            \tweak bound-details.left-broken.text ##f
            \tweak bound-details.right.padding -2 %pos x du trait vertical
            \tweak bound-details.right-broken.text ##f
            \tweak bound-details.right.text
           \markup
           \with-dimensions #'(0 . 0) #'(-.3 . 0)
           \draw-line #'(0 . 1)
           \startTextSpan
       
           #})


<< {  
  { r1
    R1 \break c''4^\wahw r4 r2 r1 } }
 \\
 { s1 _\txtSp"Solo break" s4 s4 s4 s4\stop }
 >>

%§-------------------------

Le jeu. 9 févr. 2023 à 11:24, Vincent Gay <vgay@vintherine.org> a écrit :
Bonjours à toutes et à tous,

Quand un textSpanner se termine sur une pause en bout de ligne (dernière mesure de la partition) l'extenseur s’arrête avant la pause. J'aimerai qu'il aille au bout de la ligne



mon code

../..
\override TextSpanner.bound-details.left.text = "solo break"
\textSpannerDown
R1 \startTextSpan R1 \stopTextSpan
\bar ".."

Merci d'avance
-- 
Vincent Gay
Envoyé depuis mon saxo-phone :)
https://myrealbook.vintherine.org/ - http://photos.vintherine.org/


--
Martial Rameaux


reply via email to

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