Thank you for the solution. It works fine. No, I did not have "page" in my example. I had tried a few things and didn't think it would help to have my failures muddying things up.
----- Original Message ----- > From: "Brian Barker" <b.m.bar...@btinternet.com> > To: "lilypond-user" <lilypond-user@gnu.org> > Cc: "bobroff" <bobr...@centrum.is> > Sent: Tuesday, April 3, 2018 8:41:48 PM > Subject: Re: Page numbers with "Page" > At 19:20 03/04/2018 +0000, David Bobroff wrote: >>I want to put page numbers centered at the bottom of each page with >>the word "Page" before the number. I found this code in the docs >>which gets me halfway there but I don't know what to do to add >>"Page" before each number. The closest I've managed to come to a >>solution results in "Page" being in the lower left corner with the >>page number in the lower right corner. >> >>-David >> >>\version "2.18.2" >> >>\book { >> \paper { >> print-page-number = ##t >> print-first-page-number = ##t >> oddHeaderMarkup = \markup \null >> evenHeaderMarkup = \markup \null >> oddFooterMarkup = \markup { >> \fill-line { >> \on-the-fly \print-page-number-check-first >> \fromproperty #'page:page-number-string >> } >> } >> evenFooterMarkup = \oddFooterMarkup >> } >> \score { >> \new Staff { s1 \break s1 \break s1 } >> } >>} > > But there is no "Page" at all there! > > Perhaps: > > oddFooterMarkup = \markup { > \fill-line { > \line { > "Page " > \on-the-fly \print-page-number-check-first > \fromproperty #'page:page-number-string > } > } > } > > Brian Barker _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user