Jump to content

Forcing systems to fill the whole page

From LilyPond wiki
Revision as of 22:40, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When writing an orchestral score, here is how to force each system to be extended to fill the whole page.

\version "2.24.0"

%% http://lsr.di.unimi.it/LSR/Item?id=371
%% see also http://lilypond.1069038.n5.nabble.com/LSR-v2-18-quot-Forcing-systems-to-fill-the-whole-page-quot-does-not-work-tc159353.html


\paper { ragged-last-bottom = ##f }

\layout {
  \context {
    \StaffGroup
    \override StaffGrouper.staff-staff-spacing.stretchability = #100
  }
}

m = { c d e f }

\new StaffGroup
  <<
    \new Staff { \m \break \m \break \m }
    \new Staff { \m \m \m }
    \new Staff { \m \m \m }
    \new Staff { \m \m \m }
    \new Staff { \m \m }
    \new Staff { \m \m }
    \new Staff { \m \m }
    \new Staff { \m \m }
    \new Staff { \m }
    \new Staff { \m }
    \new Staff { \m }
    \new Staff { \m }
  >>