In my first answer I assumed 3 columns as header: Page#, Title, Author with no distinction between odd and even pages. (Since I have 3 columns I don't need the extra " "...) Now, let me assume that you need the Page# altering, and the myTitle (1st row) with the myInstrument in a second row, but both myTitle and myInstrument centered. And yes, in this case you need the extra " ". Please try the following. If that doesn't do what you want, please let me know what spacing is fouled.
...when I use this the spacing gets fouled a bit...
Snippet:
   myTitle = "Title"
   myInstrument = "a instrument"
   oddHeaderMarkup = \markup
   \fill-line {
       " "
\on-the-fly #not-first-page {\center-align {\myTitle \tiny \myInstrument}} \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 {\center-align {\myTitle \tiny \myInstrument}}
       " "
   }
Herbert



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to