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: Aaron Hill
Subject: Re: How to fix markup horizontal position relative to edge of page
Date: Wed, 12 Apr 2023 11:31:19 -0700

Hello all,
I am trying to layout some documents where the score is centered on the page, and underneath it is some markup text that is aligned left, relative to the edge of the page. In some documents the score will be wider, in some it will be narrower, but the text below it should always be in the same horizontal position relative to the page.

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 }
%%%%


-- Aaron Hill



reply via email to

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