opensubscriber
   Find in this group all groups
 
Unknown more information…

l : lilypond-user@gnu.org 19 June 2012 • 9:42AM -0400

Re: Even page numbers on right?
by David B. Stocker

REPLY TO AUTHOR
 
REPLY TO GROUP




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
> <notesettersinc@gmai...> 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....
https://lists.gnu.org/mailman/listinfo/lilypond-user

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.