Greetings James, et al...
I have been trying to sort out just what can be achieved using
'breakbefore' in a file with several Score blocks, and what each line in
the headers actually produces in the final printout.
The attached .ly file is the result. It has some embedded comments. It
also raises a few questions about fine tuning layouts, especially with
the 'instrument' and 'copyright' fields. I haven't delved into the use
of even and odd headers and footers!
I hope this is of some use? :)
REgards
Bill
\version "2.13.61"
\header {
dedication = \markup \center-column { { " " }{ " " }{ " " }{ " " }{ " " }{ " " }{ " " }{ " " }{ " " }{ " " }{ "Dedicated to ..." } { " " } }
title = \markup \center-column {
{ "The Composition's Full Title"} { " " } }
subtitle =\markup \center-column {
{ "A Sub-title - perhaps the Composition's short title" } { " " } }
subsubtitle = \markup \center-column { { " " }
{ "This is the Title page" } { " " } }
poet = \markup \left-column { { "from a poem by" } { "a well-known Poet" } { " " } }
instrument = "This is printed on every following page"
composer = \markup \right-column { { "Composed by" } { "a well-known Composer" } { "in 1102" } { " " } }
meter = \markup \left-column { { "Originally performed by" } { "a well-known Performer" } { "in Casa Nostra" } { "in 1492" } }
arranger = \markup \right-column { { "Arranged by" } { "a well-known Arranger" } { "in 2011" } { " " } }
piece = "Piece" %This doesn't show on the 'Title Page'
opus = "Opus" %This doesn't show on the 'Title Page'
copyright = \markup { { " " }{ \char ##x00A9 "A well known organization 2011" }{ " " } }
% tagline = "Tagline" %omit to obtain the LP default
breakbefore = ##t% or ##f
% forces the title title of each Score to start on a new page
% If there are several \score blocks in the file.
% The 'Header' goes in each \score block 'after' the music expression { 'music' }
% The breakbefore command does not have to be included in each Score's Header
}
\paper {
print-all-headers = ##t %This allows 'All' the header lines etc for each Score to print...
}
\score { \relative c' {
<<
{ \repeat unfold 100 { a' c d e } }
{ \repeat unfold 100 { a, c d e } }
>>
}
\header {
dedication = \markup \center-column { { "Dedicated to ...1" } { " " } }
title = \markup \center-column {
{ "The First Piece's Full Title"} { " " } }
subtitle =\markup \center-column {
{ "A Sub-title - perhaps the First Piece's short title" } { " " } }
subsubtitle = \markup \center-column { { " " }
{ "A further comment-1" } { " " } }
poet = \markup \left-column { { "from a poem by" } { "a well-known Poet-1" } { " " } }
instrument = "This is not printed on every following page!" %Precedence is taken by the corresponding line in the top Header block
composer = \markup \right-column { { "Composed by" } { "a well-known Composer-1" } { "in 1102" } { " " } }
meter = "Meter"
arranger = \markup \right-column { { "Arranged by" } { "a well-known Arranger-1" } { "in 2011" } { " " } }
piece = "Piece-1"
opus = "Opus-1"
copyright = \markup { \char ##x00A9 }%Precedence is taken by the corresponding line in the top Header block
% tagline = "Tagline" %omit to obtain the LP default
% breakbefore = ##t
% forces the title title of each Score to start on a new page
% if there are several \score blocks in the file (set it to ##t or ##f).
%It goes in each \score block 'after' the music exxpression { 'music' }
}
}
\score { { \relative c' {
<<
{ \repeat unfold 100 { a' c d e } }
{ \repeat unfold 100 { a, c d e } }
>>
} }
\header {
dedication = \markup \center-column { { { " " }"Dedicated to ...2" } { " " } }
title = \markup \center-column {
{ "The Second Pieces's Full Title-2"} { " " } }
subtitle =\markup \center-column {
{ "A Sub-title - the Second Pieces's short title-2" } { " " } }
subsubtitle = \markup \center-column { { " " }
{ "A further comment-2" } { " " } }
poet = \markup \left-column { { "from a poem by" } { "a well-known Poet-2" } { " " } }
instrument = "This is not printed on every following page"%Precedence is taken by the corresponding line in the top Header block
composer = \markup \right-column { { "Composed by" } { "a well-known Composer-2" } { "in 1102" } { " " } }
meter = "Meter"
arranger = \markup \right-column { { "Arranged by" } { "a well-known Arranger-2" } { "in 2011" } { " " } }
piece = "Piece-2"
opus = "Opus-2"
copyright = \markup { \char ##x00A9 }%Precedence is taken by the corresponding line in the top Header block
% tagline = "Tagline" %omit to obtain the LP default
% breakbefore = ##t
% forces the title of each Score to start on a new page
% if there are several \score blocks in the file (set it to ##t or ##f).
%It goes in each \score block 'after' the music exxpression { 'music' }
}
}
\score { { \relative c' {
<<
{ \repeat unfold 100 { a' c d e } }
{ \repeat unfold 100 { a, c d e } }
>>
} }
\header {
dedication = \markup \center-column { { "Dedicated to ...3" } { " " } }
title = \markup \center-column {
{ "The Third Piece's Full Title-3"} { " " } }
subtitle =\markup \center-column {
{ "A Sub-title - perhaps the Third Piece's short title-3" } { " " } }
subsubtitle = \markup \center-column { { " " }
{ "A further comment-3" } { " " } }
poet = \markup \left-column { { "from a poem by" } { "a well-known Poet-3" } { " " } }
instrument = "This is not printed on every following page"%Precedence is taken by the corresponding line in the top Header block
composer = \markup \right-column { { "Composed by" } { "a well-known Composer-3" } { "in 1102" } { " " } }
meter = "Meter"
arranger = \markup \right-column { { "Arranged by" } { "a well-known Arranger-3" } { "in 2011" } { " " } }
piece = "Piece-3"
opus = "Opus-3"
copyright = \markup { \char ##x00A9 }%Precedence is taken by the corresponding line in the top Header block
% tagline = "Tagline" %omit to obtain the LP default
% breakbefore = ##t
% forces the title title of each Score to start on a new page
% if there are several \score blocks in the file (set it to ##t or ##f).
%It goes in each \score block 'after' the music exxpression { 'music' }
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user