Actually Timothy's suggestion doesn't seem to work. I also noted that
I wasn't using the latest stable version, and so updated. It fails
with both. See attached.
Yours,
-- Owen
\version "2.24.3"
song = { \key c \major \time 4/4 \relative c' {
c4 d e f \bar "||" \section \break
}
\repeat volta 2 { \relative c' {
\bar ".|:"
f4 e d c
}}}
\score {
\new Staff { \song }
}
On Tue, 10 Dec 2024 at 13:17, Timothy Lanfear <[email protected]> wrote:
> The \section command does what you need
> (https://lilypond.org/doc/v2.24/Documentation/notation/bars#automatic-bar-lines)
>
> song = { \key c \major \time 4/4 \relative c' {
> c4 d e f
> \section
> %\break
> }
> \repeat volta 2 { \relative c' {
> % \bar ".|:"
> f4 e d c
> }}}
>
> --
> Timothy Lanfear, Bristol, UK.
--
-- Owen
Dr O V Le Blanc
sample.pdf
Description: Adobe PDF document
