lilypond-user
[Top][All Lists]
Advanced

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

Re: inconsistent \RemoveEmptyStaves action


From: Lukas-Fabian Moser
Subject: Re: inconsistent \RemoveEmptyStaves action
Date: Tue, 22 Feb 2022 23:28:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Hi Simon,

This is a minimal example for the issue you were having:

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.22.1"

upper = { 1 \break 1 }
lower = { R1*2 }

\score {
  \new PianoStaff << \upper \lower >>
  \layout {
    \context {
      \Staff
      \RemoveEmptyStaves
    }
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Now that's interesting: For my taste, this is _too_ minimal. I don't wouldn't recommend relying on the implicit creation of contexts to turn \upper and \lower into staves (as opposed to, for instance, voices).

So, I would always write

\new PianoStaff
<<
  \new Staff \upper
  \new Staff \lower
>>

Do you consider this inferior (or unnecessarily verbose and therefore non-minimal)?

Lukas




reply via email to

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