lilypond-user
[Top][All Lists]
Advanced

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

Page number in footer but tagline on last page?


From: Nick Payne
Subject: Page number in footer but tagline on last page?
Date: Tue, 12 Jan 2010 05:53:14 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

Is it possible, if I've chosen to have page numbers at the foot of the page, to replace the page number with a tagline at the foot of the last page? This just prints page number and not the tagline on the last page:

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.13.10"

date = #(strftime "%d/%m/%Y" (localtime (current-time)))

\paper {
    print-first-page-number = ##t
    oddHeaderMarkup = \markup \fill-line { " " }
    evenHeaderMarkup = \markup \fill-line { " " }
    oddFooterMarkup = \markup { \fill-line {
    \bold \fontsize #3 \on-the-fly #print-page-number-check-first
    \fromproperty #'page:page-number-string } }
    evenFooterMarkup = \markup { \fill-line {
    \bold \fontsize #3 \on-the-fly #print-page-number-check-first
    \fromproperty #'page:page-number-string } }
}

\header {
    tagline = \markup \fontsize #-3.5
    {
        Engraved on \date using \with-url #"http://lilypond.org/web/";
        { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
    }
}

\relative c' {
    \repeat unfold 800 { c }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%

Nick




reply via email to

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