Am 21.10.2010 11:31, schrieb Janek Warchoł:
Hi,

how can i put some text into the header of all pages except the first page?
I'd like to have the title of the piece displayed there, not only the page
number. It would be very helpful, for example when printouts of several
different scores mix and i have to sort them...
I've read NR 3.2.1 and NR 3.2.2 and didn't found the answer.
Thanks in advance,
Jan

Here an excerpt from my score as an example. Would it work for you?

\header {
  title = "music"
  instrument = "harp"
  composer = "me"
}

\paper {
  oddHeaderMarkup = \markup \fill-line {
    \on-the-fly #not-first-page \fromproperty #'header:composer
    \null
    \on-the-fly #not-first-page \fromproperty #'header:instrument
    \on-the-fly #not-first-page \fromproperty #'header:title
    \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
    \on-the-fly #not-first-page \fromproperty #'header:title
    \on-the-fly #not-first-page \fromproperty #'header:instrument
    \null
    \on-the-fly #not-first-page \fromproperty #'header:composer
  }
}


Helge

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to