Horizontal centered systems on a page: Difference between revisions
Appearance
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 |
No edit summary |
||
| Line 62: | Line 62: | ||
</lilypond> | </lilypond> | ||
[[Category:Paper and layout]] | [[Category:Paper and layout]][[Category:Snippet]] | ||
Revision as of 22:54, 21 November 2025
If you want your systems horizontally centered, as sometimes needed in contemporary music, you have to use a \score inside a \markup construction for every line.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=701
\paper { tagline = ##f }
%here starts the snippet:
\markup {
\fill-line {
\score {
\relative c' {
c4 d e f \break
}
\layout {}
}
}
}
\markup {
\fill-line {
\score {
\new Staff \with {
\remove Time_signature_engraver
}
\relative c' {
g2 f
}
\layout {}
}
}
}
\markup {
\fill-line {
\score {
\new Staff \with {
\remove Time_signature_engraver
}
\relative c' {
c4 d e f g a b a
}
\layout {}
}
}
}
\markup {
\fill-line {
\score {
\new Staff \with {
\remove Time_signature_engraver
}
\relative c' {
g4 f e g b a g
}
\layout {}
}
}
}