[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing volta number text
From: |
Ralph Palmer |
Subject: |
Changing volta number text |
Date: |
Fri, 14 May 2021 14:47:54 -0700 |
Greetings -
I appreciate the help this list has been over many years.
I've gone slightly crazy on a couple of occasions, trying to figure out how
to change a volta number, either to a different number(s) or to text.
It looked like a snippet in the LSR :
Volta text markup using repeatCommands [0.10714]
was going to help, but it just confused me more.
I *did* find a thread in the archive :
change of volta number
which has gotten me close, but has an extra end-repeat before the first
volta ending bracket. I'm also not sure the format is the most recent.
I think it would be helpful to either have a snippet that shows how to
change a "normal" volta number setup (i.e., change the numbers and/or add
text), or to add something to the documentation.
Here's the best I could come up with. I'd appreciate some help getting rid
of that initial repeat sign.
%%%%%%%%%%
\version "2.22.0"
\include "english.ly"
test = {
\time 3/4
\repeat volta 3
{
a'4 b' c' |
b'4 c' d' |
}
\alternative {
{
\set Score.repeatCommands = #'(end-repeat (volta "1., 3." ))
e'4 f' g' |
}
{
d'4 c' b' |
}
{
\set Score.repeatCommands = #'(end-repeat (volta "4."))
g'4 a' b' |
}
}
c'1
}
\score {
\test
}
%%%%%%%%%%%
Thanks for your help,
Ralph
--
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.violin@gmail.com