Oops, X-extent forgotten, so here again: 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 #})
{ c2\repeatTie c''2 ^\repeatTieExtend #2 a'2 _\repeatTieExtend #5 c'2 _\repeatTieExtend #7 } Cheers, Pierre 2015-04-01 9:27 GMT+02:00 Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com>: > ... or even: > > \version "2.18.2" > > repeatTieExtend = > #(define-music-function (parser location arg-repeat-tie-extend) (number?) > #{ > -\tweak X-extent #'(0 . 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 > #}) > > { > c2\repeatTie > c''2 ^\repeatTieExtend #2 > a'2 _\repeatTieExtend #5 > c'2 _\repeatTieExtend #7 > } > > Cheers, > Pierre > > 2015-04-01 9:05 GMT+02:00 Pierre Perol-Schneider < > pierre.schneider.pa...@gmail.com>: > >> Hi Trevor et All, >> >> How about: >> >> \version "2.18.2" >> >> extendRT = >> #(define-music-function (parser location arg-extend) (number?) >> #{ >> \once \override LaissezVibrerTie.X-extent = #'(0 . 0) >> \once \override LaissezVibrerTie.details.note-head-gap = #(/ >> arg-extend -1) >> \once \override LaissezVibrerTie.extra-offset = #(cons (/ arg-extend >> -1) 0) >> \once \override LaissezVibrerTie.head-direction = #1 >> #}) >> >> { >> c2\repeatTie >> \extendRT #2 c''2 \laissezVibrer >> \extendRT #5 a'2 \laissezVibrer >> \extendRT #7 c'2 \laissezVibrer >> } >> >> HTH, >> Pierre >> >> 2015-04-01 6:00 GMT+02:00 David Nalesnik <david.nales...@gmail.com>: >> >>> >>> >>> On Tue, Mar 31, 2015 at 10:53 PM, David Nalesnik < >>> david.nales...@gmail.com> wrote: >>>> >>>> >>>> The property 'minimum-length doesn't seem to have an effect >>>> >>> >>> Seems like it ought to... RepeatTie and LaissezVibrerTie as well. >>> >>> \override RepeatTie.minimum-length = #5 % does nothing alone >>> >>> \override RepeatTie.springs-and-rods = #ly:spanner::set-spacing-rods >>> >>> >>> causes a crash, as does the same overrides of LaissezVibrerTie >>> >>> DN >>> >>> _______________________________________________ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> >>> >> >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user