Hi -

I'm running LilyPond 2.19.80 with Frescobaldi 2.18.1 under Linux/Ubuntu.

I'm trying to substitute text for the numbers in alternative endings. I've
struggled with this before. I've tried looking in the Notation Reference
and in the Snippet Repository. I'm attaching the closest I've been able to
come to what I want.

I have a partial measure at the beginning, before the repeat.
I'd like to get rid of the end-repeat sign at the beginning of the first
alternative.
The notes are all there, where they're supposed to be.
The "1., etc." for the first alternative is just the way I'd like it.
However, the bracket for the first alternative closes the repeat structure,
and there is no enclosure or text for the second alternative.

This is not intuitive to me.

Can someone please help me solve this?

I appreciate your time and attention,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
[email protected]
\version "2.19.80"

voltaFinal = \markup \text { Last time }
voltaEtc = \markup { 1., \text { etc. } }

tune = 
\relative c' {
  \clef treble
  \key c \major
  \time 3/4

  \partial 4 { d'4 } |
  \repeat volta 2 { 
    g4. f8 f4 |
  }
  \alternative {
    \set Score.repeatCommands =
    #(list(list 'volta voltaEtc) 'end-repeat)
    {
      d4 f g |
      a4 b4. a8 |
    }
  }
  {\set Score.repeatCommands = #(list(list 'volta voltaFinal) 'end-repeat)
   {  
     d,4 e f |
     g4 r4 \bar "|."
   }
  }  
}


\score {
  \tune
}

Attachment: AlternativeText.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to