[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two bars at the start of a repeat
From: |
Owen Le Blanc |
Subject: |
Re: Two bars at the start of a repeat |
Date: |
Wed, 11 Dec 2024 09:53:57 +0000 |
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 <timothy@lanfear.me> 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