Hans Aberg wrote:
>
> The whole layout, in pseudo-code, is
> \size 1\italic "To Elaine Shaffer"
> \size 4\bold "Suite Modale"
> \size 0\normal "Duration ..." \size 2\bold "For Flute and Piano"
> \size 3\bold
> "FLUTE" \size 3
> \bold "ERNEST BLOCH"
>
> \size 3\bold "(1956)"
> \size 3\bold "I"
> Score Part...
>
> \size 0
> \normal&bold \size
> 0\normal&bold
> "Copyright ..." \size 0
> \normal "Broude Brothers..."
> "International rights secured" "B.B.
> 2010" "New York"
> "All rights
> reserved" "Printed in
> U.S.A"
>
Try saving the following in a file, and then including the file at the
top of your pieces:
%%% Begin Lilypond Code
bookTitleMarkup = \markup {
\column {
\fill-line { \override #'(font-size . 1) \italic \fromproperty
#'header:dedication }
\fill-line { \override #'(font-size . 4) \bold \fromproperty
#'header:title }
\fill-line { \override #'(font-size . 6) \bold \fromproperty
#'header:subtitle }
\fill-line {
\column {
\left-align {\fromproperty #'header:poet }
\left-align {\fromproperty #'header:poetdates }
\left-align {\fromproperty #'header:duration }
\left-align {\fromproperty #'header:instrument }
}
\column {
\right-align {\fromproperty #'header:composer }
\right-align {\fromproperty #'header:composerdates }
\right-align {\fromproperty #'header:arranger }
\right-align {\fromproperty #'header:arrangerdates }
}
}
}
}
scoreTitleMarkup = \markup {
\fill-line { \override #'(font-size 3) \fromproperty #'header:piece }
}
copyright = \markup {
\fill-line {
\column {
\bold \fromproperty #'header:copyrightdate}
\bold "International rights secured"
\bold "All rights reserved"
}
\column {
" "
"B.B. 2010"
}
\column {
\bold \fromproperty #'header:copyrightholder
\bold \fromproperty #'header:copyrightcity
\bold "Printed in U.S.A."
}
}
}
%%% End Lilypond Code
Now, in your \header block, just define the following fields:
\header {
dedication = "To Elaine Shaffer"
title = "Suite Modale"
subtitle = "For Flute and Piano"
duration = "Duration: 12 minutes" %or whatever the real duration is
instrument = "FLUTE"
composer = "ERNST BLOCH"
composerdates = "(1956)"
copyrightdate = "1956" %or whatever the real copyright date is
copyrightholder = "Broude Brothers"
copyrightcity = "New York"
copyright = \copyright
}
Similarly, within each \score block, include a \header that sets the
"piece" property (in your example above, piece = "I"). Note that you
can define your own header fields (the Mutopia project does this
extensively).
You'll probably want to tweak the above, but that should be
self-explanatory. The file ly/titling-init.ly might give you more examples.
--Daniel
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond