[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Page numbers in ‘number’ style
From: |
Simon Albrecht |
Subject: |
Page numbers in ‘number’ style |
Date: |
Sun, 11 Sep 2016 02:00:00 +0200 |
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
- Page numbers in ‘number’ style,
Simon Albrecht <=