%% http://lsr.di.unimi.it/LSR/Item?id=794 % contributed by harm6 % discussed: http://old.nabble.com/Tie-at-end-of-first-repeat-td33246568.html % 'extendLV' is taken from LSR-snippet http://lsr.di.unimi.it/LSR/Item?id=715 extendLV = #(define-music-function (further) (number?) #{ \once \override LaissezVibrerTie.X-extent = #'(0 . 0) \once \override LaissezVibrerTie.details.note-head-gap = #(/ further -2) \once \override LaissezVibrerTie.extra-offset = #(cons (/ further 2) 0) #}) \relative c' { c1~ \repeat volta 2 { c2 c2 } \alternative { { c2 \extendLV #3 c2 \laissezVibrer } { d2 d2 } } c2 c2 \bar "|." }