lilypond-user
[Top][All Lists]
Advanced

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

Re: change page number size


From: Caio Barros
Subject: Re: change page number size
Date: Thu, 16 Feb 2012 13:02:48 -0200

I forgot to reply. This worked very well except that I added an empty space before or after the markup to make the even page numbers to the left and the odd to the right

\version "2.14.1"

\paper {
   oddHeaderMarkup = \markup \fill-line { " " \fontsize #2 \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
   evenHeaderMarkup = \markup \fill-line { \fontsize #2 \on-the-fly #not-first-page \fromproperty #'page:page-number-string " " }
}


2012/2/6 Nick Payne <address@hidden>
On 07/02/12 07:00, Caio Barros wrote:
Hello.
how can I change the font size of the page number? I cannot find this information anywhere.

I don't know if there are simpler ways, but you can do it like this. Change the \fontsize value:

\version "2.14.1"

\paper {
   oddHeaderMarkup = \markup \fill-line { \fontsize #2 \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
   evenHeaderMarkup = \markup \fill-line { \fontsize #2 \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
}

\relative c' {
   \repeat unfold 1000 { c4 }
}

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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