|
From: | Aurèle Duda |
Subject: | Re: problem with footer |
Date: | Mon, 10 Jan 2005 20:46:20 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
\header{ copyright = "Domain public" tagline = "lilypond 2.x.x" somestuff = "small text on each page" } \paper{ oddFooterMarkup = \markup { \column { \fill-line { % put copyright only on pagenr. 1 \on-the-fly #(lambda (layout props arg) (if (= 1 (chain-assoc-get 'page:page-number props -1)) (interpret-markup layout props arg) empty-stencil ) ) \fromproperty #'header:copyright } \fill-line { % put some text on the others pagenr \on-the-fly #(lambda (layout props arg) (if (and (not (chain-assoc-get 'page:last? props #t) ) (not (= 1 (chain-assoc-get 'page:page-number props -1)))) (interpret-markup layout props arg) empty-stencil ) ) \fromproperty #'header:somestuff } \line { % put tagline only on last page \on-the-fly #(lambda (layout props arg) (if (chain-assoc-get 'page:last? props #t) (interpret-markup layout props arg) empty-stencil ) ) \left-align \fromproperty #'header:tagline } } } Regards, Aurèle Jose-Luc Hopital wrote:
Lilypond version 2.4.2 on windoze XP or 2.4.1 on linux I like to put a non-amiguous but readable small text on every page of music , for example "Corelli Sonata op1-1 V1" for the Violin 1 part. The \footer variable seem to be useful for that , but nothing is visible in the PDF output. I have tried to put a "footer = " in a header block (or paper or layout ) inside a book or a score block without success.The documentation say The header and footer are created by the functions make-footer and make-header, defined in \paper. The default implementations are in scm/page-layout.scm.I don't understand... In a word, how to obtain a footer ? Thanks. _______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
-- Aurèle Duda address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |