bug-lilypond
[Top][All Lists]
Advanced

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

VerticalAxisGroup #'remove-first = ##t does not work with \partial r


From: Xavier Scheuer
Subject: VerticalAxisGroup #'remove-first = ##t does not work with \partial r
Date: Wed, 30 Sep 2009 21:41:18 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

> I'm not top posting.

%% Docs: A staff is considered empty when it contains only multi-measure
%% rests, skips, spacer rests, or a combination of these elements."
%%
%% But because a \partial rest is not one of these elements it prevents
%% \override VerticalAxisGroup #'remove-first = ##t to work if the first
%% empty staff begin, for example, with \partial 16 r16
%% Is it possible to take care of partials when determining empty lines?


\version "2.13.4"
\paper{ ragged-right=##t }

\score {
  <<
    \new Staff {
      \partial 16 r16 |  % doesn't work
                         % works if we use \partial 16 s16
      R1*4 | \break
      R1*4 | \break
      c''1
      \bar "|."
    }
    \new Staff {
      \partial 16 c'16 |
      \repeat unfold 4 { c'1 } | \break
      \repeat unfold 4 { c'1 } | \break
      c'1
      \bar "|."
    }
  >>

  \layout {
    \context {
      \RemoveEmptyStaffContext
      \override VerticalAxisGroup #'remove-first = ##t
    }
  }

}




reply via email to

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