lilypond-user
[Top][All Lists]
Advanced

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

Re: How to print "page x of x" in the header


From: Mark Cookson
Subject: Re: How to print "page x of x" in the header
Date: Fri, 30 Dec 2005 10:50:08 +0000

Thanks for the replies, Han-Wen and Laura.

I suspect it's a one-off requirement for me (I'm putting together some pages of scales for students) so I'll give the lilypond-book method a go first. I've done each scale as a separate score within a \book, so not sure how easy it will be to get things into a shape lilypond-book likes the look of...

Mark


On 12/29/05, Laura Conrad <address@hidden> wrote:
>>>>> "MC" == Mark Cookson <address@hidden> writes:

    MC>    I'm trying to figure out how to print the title and "page x
    MC>    of x" in the header of each page of a \book using Lilypond
    MC>    2.6.4. Can anyone give me any clues? Is this likely to be
    MC>    easy to accomplish?

If you use lilypond-book, this and a lot of things like it are quite
easy.  I think the most straightforward way is to put:

       \usepackage(lastpage)

in your document header, and then say:

   \pageref(LastPage)

wherever you want to use the number of the last page.

--
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139


reply via email to

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