Hi Peter,
Am 18.06.2014 13:57, schrieb Peter Meanwell:
> How do I put the name of the piece at the top of
> each page (except the first page)?
\markup \on-the-fly is what you need:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paper {
oddHeaderMarkup = \markup \fill-line {
% interpret markup if its not first page of the current book(part)
\on-the-fly #not-first-page \line { "'" \fromproperty #'header:title
"'" }
}
evenHeaderMarkup = \markup \fill-line {
% interpret markup if its not first page of the current book(part)
\on-the-fly #not-first-page \line { "'" \fromproperty #'header:title
"'" }
}
}
\header {
title = "The Title"
}
\repeat unfold 3
{
\repeat unfold 50 c''1
\pageBreak
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
HTH
Jan-Peter
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user