lilypond-user
[Top][All Lists]
Advanced

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

Re: Even page numbers on right?


From: David B. Stocker
Subject: Re: Even page numbers on right?
Date: Mon, 18 Jun 2012 21:42:01 -0400
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120615 Firefox/13.0.1 SeaMonkey/2.10.1

Thanks, Janeck.

In case anyone who wants to know doesn't, here is the code that worked for me:

\version "2.14"

\paper {

   evenHeaderMarkup = \markup {

     \column {

       \fill-line {

         \line { }

         \line {

           \on-the-fly #print-page-number-check-first

           \fromproperty #'page:page-number-string

         }

       }

     }

   }

   oddHeaderMarkup = \markup {

     \column {

       \fill-line {

         \line {

           \on-the-fly #print-page-number-check-first

           \fromproperty #'page:page-number-string

         }

         \line { }

       }

     }

   }

}



Janek Warchoł wrote:
On Sun, Jun 17, 2012 at 11:30 AM, David B. Stocker
<address@hidden> wrote:
Is there a way to have LilyPond print even page numbers in the top right
corner and odd page numbers in the top left?

This seems like it should be possible but I can't find any way to do it
either in the manuals or the LSR or on the lilypond-user list.
you have to define your own header layout.  See
http://www.lilypond.org/doc/v2.15/Documentation/notation/custom-headers-footers-and-titles#custom-layout-for-headers-and-footers

hth,
Janek





reply via email to

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