lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page numbers with text


From: Kevin Barry
Subject: Re: Page numbers with text
Date: Tue, 11 Feb 2020 20:53:19 +0000

On Sun, Feb 09, 2020 at 09:01:48AM +0100, Marco Bagolin wrote:
> Thank you all,
> all solutions are good, but I don't know why the copyright field on the
> first page does not appear.

Because your code redefines footers, they no longer include the
copyright field, so it has to be added back in. Does this code do what
you want?

\version "2.21.0"

\paper {
  print-first-page-number = ##t
  oddHeaderMarkup = ##f
  evenHeaderMarkup = ##f
  oddFooterMarkup = \markup {
    \overlay {
      \line {
        \on-the-fly \print-page-number-check-first \fromproperty 
#'page:page-number-string
        \on-the-fly \print-page-number-check-first \italic "- My Song - arr. by 
M. Bagolin (2020)"
      }
      \fill-line { \on-the-fly #part-first-page \fromproperty 
#'header:copyright }
    }
  }
  evenFooterMarkup = \oddFooterMarkup
}

\header {
  title = \markup \override #'(font-name . "Arial Black") \fontsize #+4 { \bold 
 "My song" }
  copyright = \markup
  \override #'(font-name . "Palatino Linotype")
  \override #'(baseline-skip . 2)
  \center-column {
    \fontsize #-4
    { \bold
      {
        \line { " " }
        "Arranged by M. B. (2020)"
        "ALL RIGHTS RESERVED"
      }
    }
  }
}


\score {
  \repeat unfold 800 c'2
}

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]