lilypond-user
[Top][All Lists]
Advanced

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

Re: Removing (or not) empty staves


From: Ralph Palmer
Subject: Re: Removing (or not) empty staves
Date: Wed, 18 Jan 2023 08:22:04 -0800

On Tue, Jan 17, 2023 at 11:42 PM Xavier Scheuer <x.scheuer@gmail.com> wrote:
On Wed, 18 Jan 2023 at 04:12, Ralph Palmer <palmer.r.violin@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.scheuer@gmail.com>


Thanks, Xavier - I'll take a closer look at the Documentation link and see what I can do.

All the best,

Ralph
______
Ralph Palmer
Seattle
USA
(he, him, his)

reply via email to

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