On 23/10/10 07:33, Frank Steinmetzger wrote:
Hello Group
I am trying to add a descriptive text to the end of a score. I tried reading
the snipped for a title pageĀ¹ and how this accomplishes it, but even after a
couple of years of using lilypond, I still didn't manage to grasp scheme. It's
just too weird. *duckandhide*
This is the paper block I use to get page numbers at the bottom of the
page and still have a tagline at the foot of the last page. You should
be able to just change the text to be output for the last page situation.
\paper {
#(define (print-positive-page-number layout props arg)
(if (> (chain-assoc-get 'page:page-number props -1) 0)
(create-page-number-stencil layout props arg)
empty-stencil))
%% cf. ly/titling-init.ly
#(define (not-last-page layout props arg)
(if (and (chain-assoc-get 'page:is-bookpart-last-page props #f)
(chain-assoc-get 'page:is-last-bookpart props #f))
empty-stencil
(interpret-markup layout props arg)))
#(set-paper-size "a4")
print-first-page-number = ##f
top-margin = 1\cm
bottom-margin = 0.6\cm
outer-margin = 1\cm
inner-margin = 1\cm
two-sided = ##t
ragged-bottom = ##f
ragged-last-bottom = ##f
ragged-last = ##f
oddHeaderMarkup = \markup \fill-line { " " }
evenHeaderMarkup = \markup \fill-line { " " }
oddFooterMarkup = \markup \fill-line { \column {
\on-the-fly #not-last-page \on-the-fly #not-first-page
\fromproperty #'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
} }
evenFooterMarkup = \markup \fill-line { \column {
\on-the-fly #not-last-page \on-the-fly #not-first-page
\fromproperty #'page:page-number-string
\on-the-fly #last-page \fromproperty #'header:tagline
} }
}
Nick
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user