lilypond-devel
[Top][All Lists]
Advanced

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

Re: What is the difference between \paper and \layout blocks?


From: Lukas-Fabian Moser
Subject: Re: What is the difference between \paper and \layout blocks?
Date: Sun, 15 Jan 2023 20:11:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2


I don't see that.  layout/midi are different output media.  paper has
some overarching information (like base file names).  It also contains
some information pertinent to typesetting a whole document as opposed to
single scores, like paper dimensions.  Things like staff sizes are a
whole lot murkier, and developers have been scratching their head about
making things like layout-set-staff-size work in a sensible manner, if
at all.

Relatedly, there's still https://gitlab.com/lilypond/lilypond/-/issues/1885: A system-system-spacing set in a \layout block actually is being heeded, but ...

\version "2.24"

\score {
  {
    \repeat unfold 500 c'4
  }
  \layout {
    system-system-spacing.padding = 20
  }
}

\score {
  {
    \repeat unfold 200 c'4
  }
  \layout {
    system-system-spacing.padding = 0
  }
}

... see page 3. So the setting seems to be used on a per-page basis, but conceptually it should work per-score I think.

Lukas




reply via email to

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