lilypond-user
[Top][All Lists]
Advanced

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

Re: RemoveEmptyStaffContext and TabStaff


From: Richard Schoeller
Subject: Re: RemoveEmptyStaffContext and TabStaff
Date: Sat, 08 May 2004 13:39:53 -0400

You need to include something like

\context {
    \TabStaffContext
    \remove "Axis_group_engraver"
    \consistsend "Hara_kiri_engraver"
    \override Beam #'auto-knee-gap = #'()
}

BTW, the same problem arises with drum staves.

On Sat, 2004-05-08 at 12:43, Stef Epardaud wrote:
> Hi,
> 
> I have some tablature scores that looks like this:
>  \context StaffGroup = staffI<<
>   \context Staff<<
>     % Hide fingering number
>     \override Staff.Fingering #'transparent = ##t
>     \set Staff.instrument = "Guitar 9"
>     \set Staff.instr = "Gtr9"
>     \guitarI
>    >>
>   \context TabStaff<<
>     \override Staff.Stem #'direction = #1
>     \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20 -25)
>     \guitarI
>    >>
>  >>
> 
> in other words, they have both the normal staff and the tabstaff.
> I want to hide empty staves, so I tried:
> \paper {
>  \context { 
>   \RemoveEmptyStaffContext 
>  }
> }
> 
> But this only removes empty Staff objects, not empty TabStaff, is it normal,
> and is there a way to do it otherwise ?
> Thanks
-- 
Dick Schoeller
mailto:address@hidden
http://schoeller.ne.client2.attbi.com/
781.449.5476





reply via email to

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