lilypond-user
[Top][All Lists]
Advanced

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

Fwd: Re: repeatTie length


From: Engraver
Subject: Fwd: Re: repeatTie length
Date: Sun, 22 Apr 2018 09:38:28 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0



On 22-4-2018 05:24, Andrew Bernard wrote:
How can you make a repeatTie longer? The default is a little too crimped for my style.

Andrew



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


I pickesdup two short functions on this list in the last few months to extend a repeatTie. I should probably look up the original posts, however, I have them ready in my include library:

repeatTieExtend =
#(define-music-function (parser location arg-repeat-tie-extend) (number?)
#{
-\tweak X-extent #(cons (* (+ arg-repeat-tie-extend 4) -1) 0)
-\tweak details.note-head-gap #(* arg-repeat-tie-extend -1)
-\tweak extra-offset #(cons (* arg-repeat-tie-extend -1) 0)
-\tweak head-direction #1
\laissezVibrer
#})

Use as:  d,4^\repeatTieExtend #0.6

= Second possibility:

extendRT =
#(define-music-function (parser location further) (number?)
   #{
     \once \override RepeatTie.X-extent = #'(0 . 0)
     \once \override RepeatTie.details.note-head-gap = #(/ further -2)
     \once \override RepeatTie.extra-offset = #(cons (/ further -2) 0)
   #})

use as: \extendRT#2 a2\repeatTie

Regards,
Auke



reply via email to

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