lilypond-user
[Top][All Lists]
Advanced

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

Re: Remove empty staves from PianoStaff


From: Jonas Müthing
Subject: Re: Remove empty staves from PianoStaff
Date: Mon, 22 Nov 2010 15:22:17 +0100

Hej,

by using the following in your Staff, you can define which interfaces decide whether a line is active or not. If you add the rest-interface to the list, it should keep the lines alive.

\set Staff.keepAliveInterfaces = #'(
                rhythmic-grob-interface
                lyric-interface
                stanza-number-interface
                percent-repeat-interface)

If you want to change all back again, you should be able to use \revert Staff.keepAliveInterfaces

Regards,

Jonas


Am 22.11.2010 um 13:37 schrieb TaoCG:


Thanks Neil, that did the trick.

Now I got another problem however.
I am using this snippet to create rhythmic slashes:
http://lsr.dsi.unimi.it/LSR/Item?id=332

And since the slashes are Rests they get removed as well.
Is there a simple trick to keep specific measures with rests alive?
Currently as a workaround I reduced the duration of the slash by half,
followed by a hidden note.
But I'd prefer something more elegant.

Regards,
Tao
--
View this message in context: 
http://old.nabble.com/Remove-empty-staves-from-PianoStaff-tp30267705p30278109.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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