Robin Bannister wrote:
You could make lily *seem* to count pages twice as fast by doubling what
\fromproperty #'page:page-number-string delivers.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#(define-markup-command (four-hand-page layout props offset) (number?)
(let* (
(two-hand (chain-assoc-get 'page:page-number-string props))
(four-hand (number->string (+ offset (* 2 (string->number two-hand))))))
(interpret-markup layout props four-hand)))
\paper { % simple example
oddHeaderMarkup = \markup \fill-line { \four-hand-page #1 } % Primo
evenHeaderMarkup = ##f
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
And \four-hand-page #0 would give you even numbering for Secondo.
Excellent suggestion. It works very well -- thank you. Is there also a way to
supress the first page number, and move the numbers to the outer edge?
Cheers,
Fredric_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user