Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Increasing spacing between staves
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Vertical spacing is automatically set so that the layout of a score is neither too cramped or loose. Changing the distance between systems, however, is easy to do. You may want to move systems closer together so that more can fit on the page, for example. The paper variable that controls the distance between (independent) staves is called <code>system-system-spacing</code>. It provides four keys for fine-tuned control, but you may find that you can get the spacing you want with changes to just one or two. The output of this snippet is the result of a change to a single key, <code>padding</code>. You may want to experiment with the commented-out line below it, which contains the default values for <code>system-system-spacing</code> and shows the syntax to use for changes in groups. Numbers represent distances in staff spaces. For more details you should consult [{{LILYSTABLEDOC}}/notation/page-layout Section ‘Page layout’ of the Notation Reference]. <lilypond version="2.24"> \paper { % spacing variables may be changed individually: system-system-spacing.padding = #8 % or as a group: %system-system-spacing = % #'((basic-distance . 12) % (minimum-distance . 8) % (padding . 1) % (stretchability . 60)) } \new Staff { \repeat unfold 96 { c''8[ c''] } } </lilypond> [[Category:Paper and layout]] [[Category:Spacing]] [[Category:Staff notation]] [[Category:Tweaks and overrides]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:LILYSTABLE
(
edit
)
Template:LILYSTABLEDOC
(
edit
)