lilypond-user
[Top][All Lists]
Advanced

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

title in each pages but with several scores


From: Gilles THIBAULT
Subject: title in each pages but with several scores
Date: Sun, 16 Mar 2008 23:42:10 +0100

Printing the title in top of each pages in a single score is quite easy.
For exemple, this works well :

%%%%%%%%%%%%
\version "2.11.40"

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

\header {
      title = "The title"
}

\score {
\new Staff {\repeat unfold 3 {\repeat unfold 8 { c'1 \break} \pageBreak } }
}
%%%%%%%%%%%%%

But now, if i try to make it work for several scores (with differents titles), i have to change the above code like that :

%%%%%%%%%%%%
\version "2.11.40"

\paper {
    printallheaders=##t

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


\score {
\new Staff { \repeat unfold 3 {\repeat unfold 8 { c'1 \break} \pageBreak } }
    \header {
          title = "The title"
    }
}

%%%%%%%%%%%

But it doen't work anymore. (only in the first page of course)
What is the problem here ?

Gilles





reply via email to

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