lilypond-user
[Top][All Lists]
Advanced

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

Re: Header on all pages - how to ?


From: Helmut Arnold
Subject: Re: Header on all pages - how to ?
Date: Wed, 07 May 2008 23:57:44 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Hello Mats,
many thanks for your hints it works now. After some trials my script now looks like:

\paper{
    oddHeaderMarkup = \markup
    \fill-line {
        \fromproperty #'header:title
        " "
        \fromproperty #'header:instrument
        " " % This will make sure that the header is never completely empty, to
        % avoid some layout problems. Also, moving it in between the title and
        % the page number, makes these be typeset left and right aligned, respectively.
        \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
    }

    evenHeaderMarkup = \markup
    \fill-line {
        \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
        " "
        \fromproperty #'header:title
        " "
        \fromproperty #'header:instrument
       
    }
}

Regards
           Helmut

Mats Bengtsson schrieb:
What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset, except for the
first page, where only the page number is printed.

This can be changed, but it's easiest to answer your question if you tell more exactly what
you want printed. One example, showing how to include the title of the piece at the top of
every page, can be found at http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html

   /Mats

Helmut Arnold wrote:
Hi list,
I'm new to this list and with lilypond. I like to print the header on all pages of a score, but couldn't found any hint, either this mailing-archive nor in google.

Can someone telling if its possible ?

Regards
         Helmut



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



reply via email to

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