lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Braces with TabStaff


From: David Kastrup
Subject: Re: Braces with TabStaff
Date: Fri, 12 Feb 2021 15:37:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Richard Shann <richard@rshann.plus.com> writes:

> When I try to create a ChoirStaff brace around two staves one of which
> is a TabStaff I get two braces:
>
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> \version "2.20.0"
> music = { c''1 }
>
> \score { 
>           <<
>  \new ChoirStaff <<
>                     \new TabStaff = "Part 1"  << 
>                                  \music
>                         >> 
>                     \new Staff
>                         << 
>                            \new Voice { 
>                                         \music
>                                       } 
>                         >> 
>                  >>
>           >>
>        }
> 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
>
> If I replace TabStaff with Staff in the above, all is well.
> Can anyone shed light on this?

You'll find that this only happens for guitar tablature, not bass guitar
tablature.  Whether a brace is placed or not depends on the height of
the system/group.

Try

\version "2.20.0"
music = { c''1 }

\score { 
          <<
 \new ChoirStaff \with { \override SystemStartBracket.collapse-height = 8 } <<
                    \new TabStaff = "Part 1"  << 
                                 \music
                        >> 
                    \new Staff
                        << 
                           \new Voice { 
                                        \music
                                      } 
                        >> 
                 >>
          >>
       }

instead.  Yes, this is somewhat insane.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]