On 07/03/2025 15:21, tim...@bitstream.net via LilyPond user discussion
wrote:
Of all the things in Lilypnd I find barline syntax perhaps the most
baffling. What I want is a double barline to end an 8 bar intro
section at the end of a line (I am using \break to force 4 bars to a
line) and then a repeat barline at the start of the next line where
the head begins. I’ve tried every combination I can figure out from
https://lilypond.org/doc/v2.24/Documentation/notation/list-of-bar-lines without
success. I get either no barline at all at the end of the intro, or a
plain carline and no repeat at the start of the head. I am very
curious as to what I am doing wrong and any suggestions happily
received. This sort of thing is common engraving practice, so I must
be missing something obvious.
Thanks!
The \section command is the simplest solution to this problem.
\version "2.24.0"
{
c''1 1 1 1 \break
c''1 1 1 1 \break
\section
\repeat volta 2 {
d''1 1 1 1
}
}--
Timothy Lanfear, Bristol, UK.