[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying StaffGroupBar after tweak
From: |
Karim Haddad |
Subject: |
Re: Displaying StaffGroupBar after tweak |
Date: |
Sat, 17 Jun 2023 12:22:14 +0200 |
THank you Jean,
And sorry about the messy MWE.
By the way i tested it, and it is the same as in old lilypond versions (tested
on 2.18)
So this is not a bug. I suspect this has something to do with \startStaff. And
I am not that expert to mess with it. But I hope there is a solution.
Best
K
On Fri, Jun 16, 2023 at 03:24:20PM +0200, Jean Abou Samra wrote:
> Le vendredi 16 juin 2023 à 14:59 +0200, Karim Haddad a écrit :
>
> > I customize staffs using the following tweak:
> > [...]
> >
> > Whenever there is a pagebreak (explicit or automatic), the StaffGroupBar
> > disappears.
> > I know i am missing something here.
> > Here is a somehow not so moderate MWE (sorry):
>
>
> I don't have the time to find a solution right now, but for a start, here is
> already a more "M" MWE:
>
> ```
> \version "2.24.1"
>
> kHide = {
> \stopStaff
> \override Staff.StaffSymbol.line-count= 1
> \startStaff
> }
>
> \new StaffGroup <<
> \new Staff { R1 R1 \break \kHide R1 R1 }
> \new Staff { R1 R1 R1 R1 }
> >>
> ```
>
--
Karim Haddad
Music Representations Team, IRCAM
Research and development manager.
email : karim.haddad@ircam.fr
webpage : http://karim.haddad.free.fr