lilypond-user
[Top][All Lists]
Advanced

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

Re: How to fix markup horizontal position relative to edge of page


From: Jean Abou Samra
Subject: Re: How to fix markup horizontal position relative to edge of page
Date: Wed, 12 Apr 2023 20:38:03 +0200
User-agent: Evolution 3.46.4 (3.46.4-1.fc37)

Le mercredi 12 avril 2023 à 11:31 -0700, Aaron Hill a écrit :

One option I did not see mentioned was putting the score into a markup
to horizontally center it:

%%%%
asdf = \score {
   \relative { c'4 d e f \break g a b c }
   \layout { line-width = 4\in }
}

\markup \fill-line { \null \score { \asdf } \null }
%%%%

That is elegant indeed. Note, though, that it has other effects: for example, it will force all systems from the score to be on the same page (could be fixed using \markuplist and \score-lines), and it will make the spacing between systems governed by markup-markup-spacing rather than system-system-spacing (can't really be fixed AFAIK).

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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