On 8/10/07, Kieren MacMillan <address@hidden> wrote:
Hi Reinhold,
> How can I force lilypond to show the bass clef at the staff,
> and then before the first note to show the tenor clef?
This (attached below) is an ugly hack, but it appears to do what you
want...
I find it interesting that Lilypond sees around a "zero-skip" (e.g.,
replacing the grace note with an s8*0). =)
Hope this helps!
Kieren.
____________________
\version "
2.10.25"
\paper { ragged-right = ##t }
bassThenTenor = \relative c'
{
%% Start with a bass clef
\clef bass
%% Use a grace skip (has the least effect on Score timing)
\grace s64
%% Adjust the Clef to compensate for spacing
\once \override Staff.Clef #'X-extent = #'(-2 . 2.5)
%% Put in the tenor clef and continue...
\clef tenor c4
}
\score { \bassThenTenor }
Just a word of warning with this: all other staves will have to have the grace skip at the same position in the score, otherwise they'll also have two clefs printed.
Regards,
Neil