Hi William and thanks for your help.

Le jeu. 6 mars 2025, à 21 h 12, William Rehwinkel
<will...@williamrehwinkel.net> a écrit :
> You can hide the staff barline like this:
> \once \hide Staff.BarLine

But then, with the
\once \hide Staff.BarLine
solution, it hides the bar line in other situations.

The problem is, I do not do manual \breaks, I have this combination of
"commands" :

\set Staff.explicitClefVisibility = #end-of-line-invisible % somewhere
in the ossia staff.

staffBassHide = {
  \override Staff.Clef.stencil = ##f
  \override Staff.KeySignature.stencil = ##f
  \override Staff.TimeSignature.stencil = ##f
  \stopStaff
}
staffBassShow = {
  \once \hide Staff.BarLine
  \startStaff
  \set Staff.forceClef = ##t
  \revert Staff.Clef.stencil
  \revert Staff.KeySignature.stencil
  \revert Staff.TimeSignature.stencil
  \clef bass
}

and, depending on the edition (letter, tablet, etc) It sometimes is at
the beginning of the line and sometimes right in the middle.

Is there a \once \hide Staff.BarLineOnlyWhenItsAloneAtTheEndOfASystem ?

Greetings

-- 
Pierre-Luc Gauthier

Reply via email to