lilypond-user
[Top][All Lists]
Advanced

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

Re: Page numbers with "Page"


From: address@hidden
Subject: Re: Page numbers with "Page"
Date: Tue, 3 Apr 2018 21:30:09 +0000 (GMT)

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" <address@hidden>
> To: "lilypond-user" <address@hidden>
> Cc: "bobroff" <address@hidden>
> 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



reply via email to

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