[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page number position
From: |
Aaron Hill |
Subject: |
Re: Page number position |
Date: |
Wed, 12 Aug 2020 05:21:49 -0700 |
User-agent: |
Roundcube Webmail/1.4.2 |
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