Jump to content

Forcing systems to fill the whole page: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
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
Line 1: Line 1:
When writing an orchestral score, here is how to force each system to be extended to fill the whole page.
When writing an orchestral score, here is how to force each system to be extended to fill the whole page.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=371
%% 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
%% 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

Revision as of 18:52, 16 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 }
  >>