Hello,

I just wanted to share this idea with you: Often, the visual distinction between page and bar numbers, which may be very close to each other, poses a problem. By chance, I noticed in a reproduced volume from the 1920’s Brahms edition that it uses a typical ‘number’ font like in time signatures &c. for the page numbers. Which is nice, because a) I like this kind of font, b) they’re very visually prominent and legible at small sizes and c) they are clearly different from bar numbers that way.

So my standard style sheet now features these lines (adjusted from ly/titling-init.ly):

%%%%%%%%
\paper {
  oddHeaderMarkup = \markup
  \fill-line {
    ""
    \on-the-fly #not-part-first-page \fromproperty #'header:instrument
\on-the-fly #print-page-number-check-first \number \fromproperty #'page:page-number-string
  }

  %% evenHeaderMarkup would inherit the value of
  %% oddHeaderMarkup if it were not defined here
  evenHeaderMarkup = \markup
  \fill-line {
\on-the-fly #print-page-number-check-first \number \fromproperty #'page:page-number-string
    \on-the-fly #not-part-first-page \fromproperty #'header:instrument
    ""
  }
}
%%%%%%%%%

Best, Simon

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

Reply via email to