lilypond-user
[Top][All Lists]
Advanced

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

Re: Copyright on first page, footer on following


From: Thomas Morley
Subject: Re: Copyright on first page, footer on following
Date: Sun, 10 Apr 2016 20:04:11 +0200

2016-04-10 19:35 GMT+02:00 Carl-Henrik Buschmann <address@hidden>:
> Aha! Get it. Thank you for the explanation.
>
> But it leaves me none the wiser on how to do it, it being one footer one the
> first page and a second for the rest?



Try:

\header {
  copyright = \markup {
      \center-column {
        \vspace #2
        "Copyright © OBLIGATO musikkforlag 2016 – Nesna, Norge"
        "All rights reserved – ISMN 979-0-706668-13-0 – order nr. OM8130"
      }
    }
  ISMN = \markup {
   \fill-line {
     "ISMN 979-0-706668-13-0"
   }
  }

  tagline = ##f
}

\paper {
  oddFooterMarkup = \markup {
    \column {
      \fill-line {
        %% Copyright header field only on first page in each bookpart.
        \on-the-fly #part-first-page \fromproperty #'header:copyright
      }
      \fill-line {
        %% Copyright header field only on first page in each bookpart.
        \on-the-fly #not-first-page \fromproperty #'header:ISMN
      }
    }
  }
}

{
  c1
  \pageBreak
  c1
}

More info in NR:
http://lilypond.org/doc/v2.19/Documentation/notation/custom-titles-headers-and-footers#custom-layout-for-headers-and-footers
and in the source-file
titling-init.ly

HTH,
  Harm



reply via email to

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