Hi Mats,
Many thanks for that.
I will give it a try!
BTW, if anybody is interested, I've earned some money from typesetting a band score
with Lilypond for somebody and they are very pleased with the result! Sounds like the
start of a wonderful career ;-)
Even more thanks to all concerned for a
It seems it's not enough to add the Hara_kiri_engraver, you
have to copy also another line from the definition of
RemoveEmptyStaffContext in ly/engraver-init.ly
\score{
\notes\new StaffGroup <<
\new Staff {c1 c c c c c c c \break e e e e e e e e \break d1 d d d d
d d d}
\new Staff {c1 c c c c
Hi Mats,
I have a related question.
I have a score where I wish to use the \RemoveEmptyStaffContext on one
staff of a staff group only. The reason for this is that I have a part
which is separate but only exists for a few bars in the entire piece,
and I don't want it to occupy a line on every page
One solution is to use the \RemoveEmptyStaffContext and simply insert
multimeasure rests in the second stave. Then, LilyPond will
automatically remove the second stave and the opening brace on the
lines where there are no notes.
Example:
uppervoice=\new Staff \notes\relative c'{
c d e f g a b c c b