Hi Trevor,

No clue what's going on here...
Here's a workaround (to be addapted to your needs):

\version "2.19.17"
\language "english"

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
  #})


\new Score {
    <c' g'>1
    <c'-\repeatTieExtend #2 g'^\repeatTieExtend #2 >1
    <c'-\repeatTieExtend #4 g'^\repeatTieExtend #4 >1
    %%% note that it does not work with odd numbers:
    \mark\markup\with-color #red "Oops:"
    <c'-\repeatTieExtend #4 g'^\repeatTieExtend #3 >1
}

Cheers,
Pierre


2015-04-16 3:36 GMT+02:00 Trevor Bača <trevorb...@gmail.com>:

> Hi,
>
> Using the \shape command to length repeat ties works great between notes.
> But weird behavior seems to arise with lengthened repeat ties between
> chords:
>
>
> ### BEGIN ###
>
> \version "2.19.17"
> \language "english"
>
>
> \new Staff \with {
>     \shape #'((-2 . 0) (-1 . 0) (-0.5 . 0) (0 . 0)) RepeatTie
>
>     \override RepeatTie.X-extent = ##f
> } {
>     <c' g'>1
>     <c' g'>1 \repeatTie
>     <c' g'>1 \repeatTie
>     <c' g'>1 \repeatTie
> }
>
> ### END ###
>
>
> (Image attached.)
>
> Would anyone have any clues as to how to make the repeat ties all have the
> same length?
>
> Trevor.
>
> --
> Trevor Bača
> trevorb...@gmail.com
>
> _______________________________________________
> 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

Reply via email to