[Top][All Lists]

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

Page numbers with "Page"

From: address@hidden
Subject: Page numbers with "Page"
Date: Tue, 3 Apr 2018 19:20:17 +0000 (GMT)

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.


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

reply via email to

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