Thanks! I actually found that example earlier, but didn't realise that
it applied to my case... Thinking a bit about it I got it to work,
however.
Regards,
Stig
"Mark Stephen Mrotek" <address@hidden> writes:
Stig Brautaset:
Something like this from
http://lilypond.org/doc/v2.19/Documentation/notation/long-repeats?
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
\relative {
c''1
\set Score.repeatCommands =
#(list(list 'volta voltaAdLib) 'start-repeat)
c4 b d e
\set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
f1
\set Score.repeatCommands = #'((volta #f))
}
Mark
-----Original Message-----
From: lilypond-user
[mailto:address@hidden On
Behalf Of
Stig Brautaset
Sent: Saturday, February 16, 2019 1:52 PM
To: address@hidden
Subject: counter for voltas with no alternative endings?
Hi,
I'm trying to engrave some music that has 4 bars repeated 8 times.
I can use
a volta, but since there is no alternative ending it doesn't print
the
number of repeats. Is there any way to force that to print?
Here's a minimal example. The first volta doesn't print the number
of
repeats, the second does. Should I perhaps be using percent repeats
instead...?
----8<----[ q2.ly ]----8<--------8<----
\version "2.19.80"
\relative c' {
\repeat volta 8 {
c
d
}
\repeat volta 8 {
c
}
\alternative {
d
e
}
}
----8<--------8<--------8<--------8<----
The generated PDF is here:
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user