On 2020-08-12 4:39 am, Mario Moles wrote:
Hi lilyponders!

How to move the page number from right to left?

You can customize the header markup to position elements how you prefer.

See titling-init.ly for more details on the defaults, but here is the relevant excerpt:

%%%%
oddHeaderMarkup = \markup
\fill-line {
  ""
  \on-the-fly #not-part-first-page \fromproperty #'header:instrument
\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
}

%% evenHeaderMarkup would inherit the value of
%% oddHeaderMarkup if it were not defined here
evenHeaderMarkup = \markup
\fill-line {
\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
  \on-the-fly #not-part-first-page \fromproperty #'header:instrument
  ""
}
%%%%

If you want all page numbers on the left, simply mimic evenHeaderMarkup's use of \fill-line within oddHeaderMarkup.


-- Aaron Hill

Reply via email to