[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Page numbers with text
From: |
Noeck |
Subject: |
Re: Page numbers with text |
Date: |
Fri, 7 Feb 2020 21:38:07 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Dear Marco,
is this close to what you want?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.84"
\paper {
print-first-page-number = ##t
oddHeaderMarkup = \markup \null
evenHeaderMarkup = \markup \null
oddFooterMarkup = \markup \fill-line {
\line {
\on-the-fly \print-page-number-check-first
\fromproperty #'page:page-number-string
"–"
\on-the-fly \print-page-number-check-first
\fromproperty #'header:title
}
}
evenFooterMarkup = \oddFooterMarkup
}
\header {
title = "First Title"
}
\score {
\new Staff { a'1 \break g'1 \pageBreak f'1 }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I am not sure why I need the \print-page-number-check-first and if the
\fill-line { \line { … } } is the cleanest solution. But I guess the
rest of it comes close.
Best,
Joram
- Page numbers with text, Marco Bagolin, 2020/02/07
- Re: Page numbers with text, Aaron Hill, 2020/02/07
- Re: Page numbers with text, Aaron Hill, 2020/02/07
- Re: Page numbers with text, Marco Bagolin, 2020/02/07
- Re: Page numbers with text, Kevin Barry, 2020/02/07
- Re: Page numbers with text,
Noeck <=
- Re: Page numbers with text, Noeck, 2020/02/07
- Re: Page numbers with text, Marco Bagolin, 2020/02/09
- Re: Page numbers with text, Kevin Barry, 2020/02/11
- Re: Page numbers with text, Marco Bagolin, 2020/02/12