lilypond-user
[Top][All Lists]
Advanced

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

Re: position of footer


From: Dr. med. Kai Lautenschläger
Subject: Re: position of footer
Date: Fri, 01 Jun 2012 16:11:06 +0200

Am 31.5.2012 um 17:26 schrieb -Eluze:
> 
> I think you are filling the columns with empty lines - better (and easier)
> would be to define a markup item for each case you have (middle pages and
> last page):
> 
>  oddFooterMarkup = \markup
>  \fill-line {
>    %% Fuß alle Seiten außer erste und letzte
>    \on-the-fly #not-last-page
>    \on-the-fly #not-first-page
>    \center-column {
>      \line { \vspace #2 \override #'(span-factor . 2/3) \draw-hline }
>      \line { \fromproperty #'header:hinweis  }
>      \line { \fromproperty #'page:page-number-string }
>     } 
>      %% Fuß letzte Seite
>    \on-the-fly #last-page
>    \center-column {
>      \line { \vspace #2 \override #'(span-factor . 2/3) \draw-hline }
>      \line { \fromproperty #'header:hinweis }
>      \line { \fromproperty #'header:tagline }
>      \line { \fromproperty #'page:page-number-string }
>    }
>  }

that works for the problem described. Perfect! and logical, too! I always 
think: "yes, why didn't I think of that myself?".
But now the middle page footers are not centered even though they are in a 
\fill-line and \center-column environment. To show, what I mean, I attached the 
PDF. Since I did nothing but rearrange the code in the manner you suggested, 
this surprises me and I don't know, what is causing the behavior. Any ideas? 

best regards
Kai


reply via email to

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