lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom text in repeats


From: Jakob Pedersen
Subject: Custom text in repeats
Date: Tue, 30 May 2023 15:16:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Betterbird/102.11.0

Hello all

I'm trying to replicate this original that has non-standard text in the final volta of the repeats.

The original music

Having used the instructions about manual repeats in section 1.4.1 of the documentation, I've come up with this:

\version "2.24.1"
\language "deutsch"

global = { \key b \major \time 4/4 }

voltatekst = \markup { Efter sidste vers. }

\relative { \global
  b'4 a g f
  \set Score.repeatCommands = #'((volta "1-4"))
  f f2 r4
  \set Score.repeatCommands = #(list(list 'volta voltatekst) 'end-repeat)
  f2 r2 \bar "|."
  \set Score.repeatCommands = #'((volta #f) end)
}


That produces this rather festive result:

My attempt

I assume this is because the text is being interpreted as dynamic expressions and whatnot.

Is there any way to force lilypond to assume that it's simply text and not any sort of musical _expression_?


Best wishes,

Jakob Pedersen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]