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
[email protected]
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


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to