Hi Johannes,

Am 08.02.23 um 14:05 schrieb Johannes Roeßler:

Hi Group,

I'd like to know how I can place a staff group vertically centered on a page. I don't want to use "ragged bottom" or the system group to be stretched - just centered vertically.

I hope you understand, what I'm trying to achieve.

Thx,
Joei

Maybe something like the following?

\version "2.24.0"

\paper {
  system-system-spacing.stretchability = 0
  top-system-spacing.stretchability = 1
  last-bottom-spacing.stretchability = 1
  ragged-bottom = ##f
  ragged-last-bottom = ##f
  systems-per-page = 3 % may also be set to 1, for example
}

\layout {
  \override Score.VerticalAxisGroup.staff-staff-spacing.stretchability = 0
}

\new PianoStaff
<<
  \new Staff \repeat unfold 160 { c'2 }
  \new Staff \repeat unfold 160 { c'2 }
>>

Lukas


Reply via email to