lilypond-user
[Top][All Lists]
Advanced

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

\RemoveEmptyStaves


From: Richard Gress
Subject: \RemoveEmptyStaves
Date: Mon, 4 Mar 2019 02:17:39 +0000

Hi all,

 

Why is \RemoveEmptyStaves not working the way I’m using it? The output still shows blank staves in a ten-page document. Uncommenting the global command doesn’t work, either.

 

The input… (complete file: https://1drv.ms/u/s!AucNdHoia6D-2TnE0_Op2BKlUKGh )

 

\version "2.18.2"

#(set-default-paper-size "letter" 'landscape)

 

 

uppera = \relative c'' {

               %MUSIC

}

 

upperb = \relative c' {

               % MUSIC

}

lowera = \relative c {

               % MUSIC

}

 

lowerb = \relative c, {

               % MUSIC

}

 

\score {

  \new PianoStaff \with {

    instrumentName = "Piano"

  } <<

    \new Staff = "uppera" \uppera

    \new Staff = "upperb" \upperb

    \new Staff = "lowera" \lowera

    \new Staff = "lowerb" \lowerb

  >>

 

  \layout {

 

   \context {

 

     \Staff \RemoveEmptyStaves

 

     % To use the setting globally, uncomment the following line:

 

     %\override VerticalAxisGroup #'remove-first = ##t

 

   }

 

}

}

 

 

 

Attachment: Midterm.ly
Description: Midterm.ly


reply via email to

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