Hi Risto,
Here's another hint -- hope it helps.
Best,
Kieren.
________________________
\version "2.10.10"
\include "english.ly"
#(define (has-subtitle layout props arg)
(if (chain-assoc-get 'header:subtitle? props #t)
(interpret-markup layout props arg)
empty-stencil))
customHeaders = \markup
{
\column
{
\fontsize #6 \fromproperty #'header:title
\on-the-fly #has-subtitle { \pad-to-box #'(0 . 0) #'(0 . 5)
\fontsize #6 \fromproperty #'header:subtitle }
\fontsize #-1 \fromproperty #'header:poet
\fontsize #-1 \fromproperty #'header:translator
}
}
\paper
{
bookTitleMarkup = \customHeaders
}
\header
{
title = "Title I"
subtitle = "Title II" % comment to test single-title output
poet = "Poet"
translator = "Translator"
}
\score
{
c'1
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user