lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond-user Digest, Vol 81, Issue 124


From: Frank Steinmetzger
Subject: Re: lilypond-user Digest, Vol 81, Issue 124
Date: Fri, 28 Aug 2009 19:56:54 +0200
User-agent: KMail/1.9.10

Am Freitag, 28. August 2009 schrieb Frederick Dennis:
> > I'm creating scores for my choir and because some of us use duplex
> > printers,
>
> they would like an empty page at the beginning. So I thought "Why not have
> a
>
> > nice title page there?", But because the majority does not use duplex
> > printers, I want the default title still visible. (Also because I
> > couldn't
>
> I have encountered this problem.
>
> > . So now I have
> > a title page and, on the following page, the default header with title
> > and composer.
>
> Excellent. Could you possibly post an example, please?

Include the snipped I mentioned¹ and then edit it. Replace

,------------
| scoreTitleMarkup = \markup \null
`------------

with

scoreTitleMarkup = \markup { \column {
\defaultBookTitleMarkup
%  \on-the-fly #print-all-headers { \defaultBookTitleMarkup \hspace #1 }
  \fill-line {
    \fromproperty #'header:piece
    \fromproperty #'header:opus
  }
} } }

For some reason that on-the-fly doesn't trigger, I don't know enough about the 
mechanics behind it to explain this. Which is why it doesn't work to just 
delete the \markup \null part, which I would expect to bring back the default 
setting (this formatting actually _is_ the default setting, with an addition 
to make it work again).

And finally, insert the formatting for defaultBookTitleMarkup:

defaultBookTitleMarkup = \markup {
  \override #'(baseline-skip . 3.5)
  \column {
    \fill-line { \fromproperty #'header:dedication }
    \override #'(baseline-skip . 3.5)
    \column {
      \huge \larger \bold
      \fill-line {
        \larger \fromproperty #'header:title
      }
      \fill-line {
        \large \smaller \bold
        \larger \fromproperty #'header:subtitle
      }
      \fill-line {
        \smaller \bold
        \fromproperty #'header:subsubtitle
      }
      \fill-line {
        \fromproperty #'header:poet
        { \large \bold \fromproperty #'header:instrument }
        \fromproperty #'header:composer
      }
      \fill-line {
        \fromproperty #'header:meter
        \fromproperty #'header:arranger
      }
    }
  }
}


¹ http://lsr.dsi.unimi.it/LSR/Item?id=368

PS.: Posting in HTML format brings chaos to quoting levels and readability.
-- 
Gruß | Greetings | Qapla'
Crayons can take you more places than starships. (Guinan)

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]