Ups, you only need this:
lyrcaps = #(define-lyric-markup (markup #:frompropertysmallcaps
'lyric:text))
In the markupCommand are smallCaps already set ...
Cheers,
Jan-Peter
Am 05.10.2011 11:55, schrieb Jan-Peter Voigt:
Hello Vaughan,
there is a known issue with caps/smallcaps and fromproperty (or nested
markups? see below):
http://code.google.com/p/lilypond/issues/detail?id=1482
If you take the little snippet from that site, you can use this
(exchange caps/smallCaps as you like):
--snip--
#(define-markup-command (frompropertysmallcaps layout props
symbol)(symbol?)
(let ((m (chain-assoc-get symbol props)))
(if (markup? m)
(interpret-markup layout props (markup #:smallCaps m))
empty-stencil)))
lyrcaps = #(define-lyric-markup (markup #:caps
(#:frompropertysmallcaps 'lyric:text)))
--snip--
But still there is a problem with nested parts. Also the following
will not work:
--snip--
\markup {
\caps { Hello \italic World }
}
--snip--
The world will be italic but no caps?!
Cheers,
Jan-Peter
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user