Re: Hiding Empty Tab Staves

2007-04-18 Thread Mats Bengtsson



Jack Cooper wrote:

I've successfully used a trick, documented somewhere in the archives,
that allows empty voice staves to be hidden in a score.  The trick 
involved

defining a RemoveEmptyStaff context, and changing some of the
engravers normally used.

For normal staves, this is well documented in the manual, see the 
section on

Hiding staves.
I am trying to accomplish the same thing for a score containing a 
tabulature

staff and voice.  The score is a lead sheet consisting of vocal melody,
lyrics and chords.  I want to add tabulature in certain parts of the song
to show a guitar lick, but do not want empty tabulature staves to appear
for the rest of the song.  I am currently using version 2.10.17 - if 
it will

help, I can include the syntax, as it currently stands, which produces
the output including tab part.
You can find the basic steps of the solution in the mailing list 
archives. However,

it seems that some details have changed, so I include the solution here:
\layout{
 \context {
   \TabStaff
   \remove Axis_group_engraver
   \consists Hara_kiri_engraver
   \override Beam #'auto-knee-gap = #'()
  \override VerticalAxisGroup #'remove-empty = ##t
 }
}


   /Mats


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Hiding Empty Tab Staves

2007-04-18 Thread Jack Cooper


Mats Bengtsson [EMAIL PROTECTED] wrote: 
You can find the basic steps of the solution in the mailing list 
archives. However,
it seems that some details have changed, so I include the solution here:
\layout{
  \context {
\TabStaff
\remove Axis_group_engraver
\consists Hara_kiri_engraver
\override Beam #'auto-knee-gap = #'()
   \override VerticalAxisGroup #'remove-empty = ##t
  }
}


/Mats

Thanks - I must have missed something when I first tried looking
for the solution- this seems to work fine..

Cheers,

  Jack

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Hiding Empty Tab Staves

2007-04-16 Thread Jack Cooper
I've successfully used a trick, documented somewhere in the archives,
that allows empty voice staves to be hidden in a score.  The trick involved
defining a RemoveEmptyStaff context, and changing some of the
engravers normally used.

I am trying to accomplish the same thing for a score containing a tabulature
staff and voice.  The score is a lead sheet consisting of vocal melody,
lyrics and chords.  I want to add tabulature in certain parts of the song
to show a guitar lick, but do not want empty tabulature staves to appear
for the rest of the song.  I am currently using version 2.10.17 - if it will
help, I can include the syntax, as it currently stands, which produces
the output including tab part.

Thanks,

  Jack Cooper
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user