Re: Extend bar line to fit raised staff

2023-08-27 Thread Gerardo Ballabio
Thank you very much!

Il giorno sab 26 ago 2023 alle ore 22:18 Xavier Scheuer
 ha scritto:
>
> On Sat, 26 Aug 2023 at 15:16, Gerardo Ballabio  
> wrote:
> >
> > Hello,
> > I'm using Staff.StaffSymbol.line-positions to raise the staff position
> > in the middle of a line. When the change is at the end of a measure,
> > the bar line is aligned with the new staff, leaving the old staff
> > partially "open", that is, the bar line doesn't extend over all the
> > height of the old staff -- in the example below, the lowermost space
> > remains open.
> > Is there a way to extend the bar line so that it closes both staves?
>
> Hello,
>
> Thank you for the well-formulated question with a minimal example.
> Add
>   \once \override Staff.BarLine.bar-extent = #'(-2 . 3)
> after your Staff.StaffSymbol.line-positions.
>
> Kind regards,
> Xavier
>
> --
> Xavier Scheuer 
>



Re: Extend bar line to fit raised staff

2023-08-26 Thread Xavier Scheuer
On Sat, 26 Aug 2023 at 15:16, Gerardo Ballabio 
wrote:
>
> Hello,
> I'm using Staff.StaffSymbol.line-positions to raise the staff position
> in the middle of a line. When the change is at the end of a measure,
> the bar line is aligned with the new staff, leaving the old staff
> partially "open", that is, the bar line doesn't extend over all the
> height of the old staff -- in the example below, the lowermost space
> remains open.
> Is there a way to extend the bar line so that it closes both staves?

Hello,

Thank you for the well-formulated question with a minimal example.
Add
  \once \override Staff.BarLine.bar-extent = #'(-2 . 3)
after your Staff.StaffSymbol.line-positions.

Kind regards,
Xavier

-- 
Xavier Scheuer 


Extend bar line to fit raised staff

2023-08-26 Thread Gerardo Ballabio
Hello,
I'm using Staff.StaffSymbol.line-positions to raise the staff position
in the middle of a line. When the change is at the end of a measure,
the bar line is aligned with the new staff, leaving the old staff
partially "open", that is, the bar line doesn't extend over all the
height of the old staff -- in the example below, the lowermost space
remains open.
Is there a way to extend the bar line so that it closes both staves?

Thanks
Gerardo

%
\version "2.24.1"

\relative c'' {
  c1
  \stopStaff
  \override Staff.StaffSymbol.line-positions = #'(-2 0 2 4 6)
  \startStaff
  c1
}
%