On Wed, 18 Jan 2023 at 04:12, Ralph Palmer <palmer.r.vio...@gmail.com>
wrote:
>
> Hi -
>
> Thanks for all your work, for helping users, and for LilyPond itself.
I've been using LilyPond and Frescobaldi for a long time, mostly on
Linux/Ubuntu.
>
> I'm currently running LilyPond 2.24.0 and Frescobaldi 3.2 on Linux/Ubuntu.
>
> I'm trying to transcribe the viola parts for Saint-Saens' Le Deluge for
my personal use, but trying to keep it close to the original. My problem is
that there are 8 lines of score with single staves, and then multiple lines
with Solo and Tutti staves. The first line with two staves has all rests in
the Solo staff. I can get LilyPond to go single staff for the opening, but
I can't get it to do that and keep the first (all rests) line of the Solo
part. I'm attaching a photo of the original score where it switches from
single staff to two staves per system, as well as two .ly files and their
PDFs from my attempts to reproduce the original. It's not a make or break
problem, but I would like to know what I might be doing wrong or what I
might do differently. I'm using \Staff \RemoveEmptyStaves in \context.

Hello,

In that case I would use a Keep_alive_together_engraver and different
VerticalAxisGroup remove-layer values and setting/unsetting
Staff.keepAliveInterfaces where desired.
There is a small example with Violins I & II and separate staves V I and V
II in the documentation.
NR 1.6.2 Modifying single staves > Hiding staves
https://lilypond.org/doc/v2.24/Documentation/notation/modifying-single-staves#hiding-staves

Otherwise if you want to keep your \RemoveEmptyStaves solution you can
cheat and include a transparent note at the beginning of the Andantino
Solo.

Cheers,
Xavier

-- 
Xavier Scheuer <x.sche...@gmail.com>

Reply via email to