lilypond-user
[Top][All Lists]
Advanced

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

Removing empty staves in a PianoStaff


From: Edward Neeman
Subject: Removing empty staves in a PianoStaff
Date: Sat, 11 Jun 2011 00:29:28 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Hello,

How do you remove empty staves from a PianoStaff context?  The following used to work in 2.12, but it no longer works in 2.14:


%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.14.0" 

\new PianoStaff <<
\relative c' { c1 \break c \break c \break}
 
\relative c' { R1 \break R \break c \break }
     
>>
\layout { \context { \Staff \RemoveEmptyStaves } }


%%%%%%%%%%%%%%%%%%%%

Thanks,
Edward



reply via email to

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