Mike,
Look at the attachments and see if it is what you want.
Note that the double bar under “Fine” is not there. Seems it conflicts with the “repeat sign” of the Trio.
Mark
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] On Behalf Of Mike Dean
Sent: Saturday, October 24, 2020 7:22 PM
To: lilypond-user@gnu.org
Subject: Re: I ought to have a bar line here...
Okay, I tried that, but the desire to start the trio on a new staff is not met:
Hoping this wouldn't require a break-visibility command intervention.....
Mike,
When I remove the “\break” the empty staff disappears.
Mark
From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr.com@gnu.org] On Behalf Of Mike Dean
Sent: Saturday, October 24, 2020 5:05 PM
To: lilypond-user@gnu.org
Subject: I ought to have a bar line here...
...between the end of the first section and the start of the Trio, but have stumped myself in properly coding it (I went to alternative endings to ensure that I had a repeat sign)
(PDF and .ly file attached, beside the snippet below)
\repeat volta 2 {
d2 d8 c d e | f4 f8. e16 d2 | e2 e8 d e f | g4 g8. f16 e2 |
a4 a8. g16 f8. g16 a8. f16 | g4 g8. f16 e8. f16 g8. e16 |
g4 a8. g16 f8. f16 e8. e16 | d4 g8. g16 g4 r8 g, |
c4. g8 c4 d | e4. c8 e4 f | g e f d |}
\alternative {
{c c8. c16 c4 r }
{c c8. c16 c4\mark "Fine" r \bar "|." }
}
\break
\repeat volta 2 {
\bar ".|:"\mark "Trio" a4.\p r16 e a8. e16 gs8. e16 | a4. r16 e a8. e16 gs8. e16 |
a4 c b e | d8. c16 b8. c16 b2 |
a4. r16 e a8. e16 gs8. e16 | a4. r16 e a8. e16 gs8. e16 |
a4 c b e | a,4 a8. a16 a4 r |
}