lilypond-user
[Top][All Lists]
Advanced

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

Re: Page numbers with text


From: Marco Bagolin
Subject: Re: Page numbers with text
Date: Wed, 12 Feb 2020 07:27:46 +0100

Perfect, thank you. 

Il giorno mar 11 feb 2020 alle 21:53 Kevin Barry <address@hidden> ha scritto:
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]