Hello Mats,
many thanks for your hints it works now. After some trials my script now
looks like:
\paper{
oddHeaderMarkup = \markup
\fill-line {
\fromproperty #'header:title
" "
\fromproperty #'header:instrument
" " % This will make sure that the header is never completely
empty, to
% avoid some layout problems. Also, moving it in between the
title and
% the page number, makes these be typeset left and right
aligned, respectively.
\on-the-fly #print-page-number-check-first \fromproperty
#'page:page-number-string
}
evenHeaderMarkup = \markup
\fill-line {
\on-the-fly #print-page-number-check-first \fromproperty
#'page:page-number-string
" "
\fromproperty #'header:title
" "
\fromproperty #'header:instrument
}
}
Regards
Helmut
Mats Bengtsson schrieb:
What do you want to appear in the page header?
By default, only the page number and the instrument name are typeset,
except for the
first page, where only the page number is printed.
This can be changed, but it's easiest to answer your question if you
tell more exactly what
you want printed. One example, showing how to include the title of the
piece at the top of
every page, can be found at
http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00638.html
/Mats
Helmut Arnold wrote:
Hi list,
I'm new to this list and with lilypond. I like to print the header on
all pages of a score, but couldn't found any hint, either this
mailing-archive nor in google.
Can someone telling if its possible ?
Regards
Helmut
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user