Hello Lilypond community,

in a recent project I encountered the following bug:
If a clef change occurs at an invisible barline, then in certain cases
the clef will be printed far away from its actual position. Minimal
example:

I don't understand why the invisible barline is there. What's the
point of it?

I use to insert (in an extra voice) invisible barlines every half
measure in order to allow line breaks and achieve a more even spacing.
using:

         \once \override Score.SpanBar.transparent=##t
         \once \override Score.BarLine.transparent=##t
         \bar "|"
or:
         \once \override Score.SpanBar.stencil=#point-stencil
         \once \override Score.BarLine.stencil=#point-stencil
         \bar "|"

seems to work better.

Eluze

No, it doesn’t: \bar "|" takes horizontal space, while \bar "" does not.

Simon

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to