On Thu, 5 Jan 2023 at 21:11, Mark Mathias <
d8valily@gmail.com> wrote:
>
> Partly to duplicate a 1910 popular song layout, and partly to continue growing in LilyPond skill, I'm wanting to suppress the bookTitleMarkup instrument field after page 1.
>
> I've read the sections on Titles and Headers, Customizing, etc., and other parts of the manual, and I've made a number of attempts, but I'm not yet at the point where I understand what to do.
Hello,
The best way is to look at the definition of oddHeaderMarkup and evenHeaderMarkup in ‘ly/
titling-init.ly’ and to modify it accordingly.
If you comment (or remove) the lines containing \fromproperty #'header:instrument, you get what you want (see below).
\paper {
oddHeaderMarkup = \markup
\fill-line {
""
% \unless \on-first-page-of-part \fromproperty #'header:instrument
\if \should-print-page-number \fromproperty #'page:page-number-string
}
evenHeaderMarkup = \markup
\fill-line {
\if \should-print-page-number \fromproperty #'page:page-number-string
% \unless \on-first-page-of-part \fromproperty #'header:instrument
""
}
}
Cheers,