Herbert,

Thank you, it did exactly what I needed!

David

Lilypond Mailing List wrote:
This snippet works for me:
have songTitel and myName (like "by MySelf") defined and use:

oddHeaderMarkup = \markup
\fill-line {
 %% force the header to take some space, otherwise the
 %% page layout becomes a complete mess.
\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
 \on-the-fly #not-first-page { \normalsize \songTitel
                 \tiny \myName
             }
  % it is filled... " "
}

evenHeaderMarkup = \markup
\fill-line {
\on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string
 \on-the-fly #not-first-page { \normalsize \songTitel
                 \tiny \myName
                 }
}

Hope that helps
Herbert

As for getting the title instead of the instrument as a running header after page one I tried editing titling-init.ly to change:

oddHeaderMarkup = \markup
\fill-line {
  %% force the header to take some space, otherwise the
  %% page layout becomes a complete mess.
  " "
  \on-the-fly #not-first-page \fromproperty #'header:instrument
\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:instrument
  " "
}

...by changing #'header:instrument to #'header:title

It didn't work.  The odd/even HeaderMarkup simply disappeared.




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

Reply via email to