Jump to content

Forcing systems to fill the whole page: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
m New category
 
(One intermediate revision by the same user not shown)
Line 35: Line 35:


[[Category:Paper and layout]]
[[Category:Paper and layout]]
[[Category:Snippet]]

Latest revision as of 23:33, 21 November 2025

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

\version "2.24"

%% 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 }
  >>