\version "2.18.2" { \clef "treble" \time 4/4 R1 \repeat volta 2 { g'1( } \alternative { { a'1) } { b'1) } % the legato is not visible in the repetition } }