> On 18 Nov 2023, at 14:29, Hans Aikema wrote:
>
> And then I realised…. It can even be done in a simpler way: swap out the
> \bar”||” custom bar for \section and lilypond already knows that it should
> create both a section-end bar at the end and a repeat-start at the start of
> the next li
On 18/11/2023 13:29, Hans Aikema wrote:
swap out the \bar”||” custom bar for \section
Simple and elegant!
Thanks again
--
Best wishes -- Peter
--
Peter Mayes
And then I realised…. It can even be done in a simpler way: swap out the
\bar”||” custom bar for \section and lilypond already knows that it should
create both a section-end bar at the end and a repeat-start at the start of the
next line
\repeat volta 2 {
c1
} \break
c1 \section
\br
Many thanks.
I think there is a typo in what you supplied, but with the documentation
reference, I got what I wanted:
\defineBarLine "||.|:" #'("||" ".|:" #f)
I needed "#'" before the definition, and I reversed the order of the
arguments, to get the double bar before the opening repeat bar
> On 18 Nov 2023, at 13:56, Hans Aikema wrote:
>
>
>
>> On 18 Nov 2023, at 13:30, Peter Mayes wrote:
>>
>> The score I am trying to emulate has an initial repeated section, a
>> non-repeated section, and another repeated section. The non-repeated section
>> ends with a double bar line, bu
> On 18 Nov 2023, at 13:30, Peter Mayes wrote:
>
> The score I am trying to emulate has an initial repeated section, a
> non-repeated section, and another repeated section. The non-repeated section
> ends with a double bar line, but when I add this (as in bar 7 below), it
> suppresses the op
The score I am trying to emulate has an initial repeated section, a
non-repeated section, and another repeated section. The non-repeated
section ends with a double bar line, but when I add this (as in bar 7
below), it suppresses the opening repeat in the following section (in
bar 8). I want bot