How about:

\relative {
  \clef F
  \mark \markup \italic "repeat 5 times"
  d1
  \repeat volta 5 {
    g,1 g g g
    c1 c g g
    d'1 c g d'
    %\mark \markup "alternative 1 should be 2 and alternative 3 should be
4"
  }
  \alternative {
    % 1st repeat alternative
    \set Score.repeatCommands = #'((volta "2."))
    { d1 d d d }
    \set Score.repeatCommands = #'((volta "4."))
    { c1 c c c }
  }
  g1\fermata
  \bar "|."

}

P.

2016-10-05 16:07 GMT+02:00 D'Arcy J.M. Cain <da...@bigsmokemusic.com>:

> On Wed, 5 Oct 2016 13:17:43 +0200
> Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com> wrote:
> > Hi D'Arcy,
> > I'm not sure to understand what the empty measures stay for.
> > Could you provide us a handwritten pic showing the final result you're
> > looking for.
>
> Better yet, see the attached.  Here is a snippet from the source for
> that output.
>
>   \mark \markup \italic "repeat 5 times"
>   \repeat volta 5 {
>   g,1 g g g
>   c1 c g g
>   d'1 c g d'
>   \mark \markup "alternative 1 should be 2 and alternative 3 should be
>   4" }
>   \alternative {
>     { }
>     { d1 d d d }
>     { }
>     { c1 c c c }
>     { }
>   }
>
>   g1\fermata
>   \bar "|."
>
> --
> D'Arcy J.M. Cain
> Big Smoke Music
> http://BigSmokeMusic.com/ IM:da...@vex.net
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to