[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug?? ChoirStaff including a tablature
From: |
David Kastrup |
Subject: |
Re: Bug?? ChoirStaff including a tablature |
Date: |
Mon, 22 Jan 2018 18:29:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Éric <address@hidden> writes:
> Hello,
> I don't know if this can be called a bug :
I'd call it an awful misdesign. Works as specified.
> the 1rst score has an unwanted additionnal "start bracket".
> The 2nd score has a correction of this.
>
> This happened only with ChoirStaff, not with StaffGroup, GrandStaff and
> PianoStaff.
>
> \version "2.19.60"
>
> mus = { c'1 c'1 }
>
> tab = { e1 f,1 }
>
> \score {
> \new ChoirStaff <<
> \new Staff \mus
> \new TabStaff \tab
> >>
> }
>
>
> \score {
> \new ChoirStaff <<
> \override ChoirStaff.SystemStartBracket.collapse-height = #6
> \new Staff \mus
> \new TabStaff \tab
> >>
> }
You probably want
\score {
\new ChoirStaff \with { \accepts "TabStaff" }
<<
\new Staff \mus
\new TabStaff \tab
>>
}
The point of a ChoirStaff is, uh, to have bars not going through
vertically but still get a bracket.
Well, uhm. Sounds like accepting TabStaff by default might be sensible
to do?
At any rate, what happens here is that the ChoirStaff creates a
StaffGroup in order to contain the TabStaff, and you see the bracket of
the implicitly created StaffGroup.
--
David Kastrup