lilypond-user
[Top][All Lists]
Advanced

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

Re: Page numbers with text


From: Kevin Barry
Subject: Re: Page numbers with text
Date: Fri, 7 Feb 2020 20:35:37 +0000

On Fri, Feb 07, 2020 at 09:06:19PM +0100, Marco Bagolin wrote:
> My knowledge of lilypond is not good enough...
> I tried to understand the examples in the guide of lilypond but the chapter
> is not clear enough for me.
> I am in difficult...

Hi Marco,

If you add the code below to your score, does that do what you want?

\paper {
  %print-first-page-number = ##t
  oddHeaderMarkup = ##f
  evenHeaderMarkup = ##f
  oddFooterMarkup = \markup {
      \on-the-fly \print-page-number-check-first \fromproperty 
#'page:page-number-string
      \on-the-fly \print-page-number-check-first "- My Song"
  }
  evenFooterMarkup = \oddFooterMarkup
}

(Uncomment the print-first-page-number line if you want the number on the first
page as well)

Kevin



reply via email to

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