Le mardi 18 juillet 2023 à 18:07 -0400, Trevor Bača a écrit :
> Is this intentional? And, if it is, is there a way to re-supply the missing
> bar line?


Yes, and yes. This is a frequent question, so I've wondered a couple times if we
should come up with a new command to recommend instead of \bar, but it's not
clear that the alternatives are better.

https://gitlab.com/lilypond/lilypond/-/issues/6414 is related.

In short, from LilyPond's point of view, the bar line at the end of the previous
system is the same bar line as the one at the start of the new system. Which is
not illogical, considering that they would be the same if there were no line
break.

Consequently, the \bar command defines *both* bar lines. And if you look at the
list of bar lines
at https://lilypond.org/doc/v2.24/Documentation/notation/list-of-bar-lines , you
can see that \bar ".|:" has no drawing at end of line. \bar ".|:-|" does.

With that being said, you probably don't want to use \bar in the first place.
Just use \repeat volta, or if that's not feasible for whatever reason,
repeatCommands.

Jean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to