Sorry for the late response. Using \bar ".|:-||” accomplished what I needed, albeit confusingly. Since the II precedes the .|: on the output PDF, why isn’t the correct syntax for this command \bar “||-.|:” ? I had actually tried this because \bar ".|:-||” is counterintuitive, and I didn’t try that because it seemed backwards.
I did not try the example with \section and \repeat, because I wasn’t using \repeat in the first place. This is a simple one page lead sheet without alternates, just repeated a set number of times. I will look into the \section command as that seems quite useful for future reference. Thank you! Tim > On Mar 8, 2025, at 10:04 AM, Knute Snortum <ksnor...@gmail.com> wrote: > > On Sat, Mar 8, 2025 at 12:46 AM Peter Chubb <lily.u...@chubb.wattle.id.au > <mailto:lily.u...@chubb.wattle.id.au>> wrote: >> >>>>> "Timothy" == Timothy Lanfear <timo...@lanfear.me >> >>>>> <mailto:timo...@lanfear.me>> writes: >> >> >> Timothy> The \section command is the simplest solution to this >> Timothy> problem. >> >> Timothy> \version "2.24.0" >> >> Timothy> { c''1 1 1 1 \break c''1 1 1 1 \break \section >> Timothy> \repeat volta 2 { d''1 1 1 1 } }-- >> >> This doesn't seem to work: there's no repeat barline at the start of >> the line for the volta. >> >> \version "2.24.4" >> \score { >> \new Staff \relative c' { >> f1 \bar "||" | \break >> \section >> \repeat volta 2 {f} >> } >> } > > Just for completeness , the following does work; notice the lack of a \bar > command: > > %%% > \version "2.24.4" > \score { > \new Staff \relative c' { > f1 | \break > \section > \repeat volta 2 {f} > } > } > %%% > > -- > Knute Snortum