[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Titles
From: |
Kieren MacMillan |
Subject: |
Re: Titles |
Date: |
Tue, 16 Dec 2008 10:38:23 -0500 |
Hi Ralph,
I don't always have a meter or composer, but I think I know how to
deal with that.
With some help from Valentin, I've come close, using his suggestion:
\paper{
scoreTitleMarkup = \markup { \column {
\fill-line {
\fromproperty #'header:meter
\fromproperty #'header:poet
}
}
}
}
I use the following function:
#(define-markup-command (when-property layout props symbol markp)
(symbol? markup?)
(if (chain-assoc-get symbol props)
(interpret-markup layout props markp)
(ly:make-stencil '() '(1 . -1) '(1 . -1))))
Then I can code things like
\when-property #'header:dedication \fill-line { \italic
\fromproperty #'header:dedication }
\when-property #'header:dedication \vspace #1
and it only gets evaluated (i.e., only takes up space in my titling)
when the dedication property has been set.
HTH!
Kieren.
- Titles, Ralph Palmer, 2008/12/16
- Re: Titles,
Kieren MacMillan <=
- RE: Titles, Nick Payne, 2008/12/16
- Message not available
- Message not available