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
<notesetters...@gmail.com> 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



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

Reply via email to