lilypond-user
[Top][All Lists]
Advanced

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

Remove 3rd Staff in PianoStaff if empty


From: Orm Finnendahl
Subject: Remove 3rd Staff in PianoStaff if empty
Date: Sat, 15 Aug 2015 15:49:56 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

 in a piano score I'm writing sometimes a third staff on top of the
other two standard staffs (with a "G^15" clef) is used.

I would like to remove this staff if empty, but *always* have the
other two staffs active. If I remove the
"Keep_alive_together_engraver" from the PianoStaff, every staff can
get removed, which is not optimal as this requires manual tweaking.

I tried all sorts of combinations of removing and consisting the
keep-alive-together engraver, tried to create an explicit staffgroup
for the main piano staves within the PianoStaff (this results in
loosing the centered instrument name and the curly braces), but it
didn't work.

Does anybody know of a solution?

--
Orm



reply via email to

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