lilypond-user
[Top][All Lists]
Advanced

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

Re: markup in lyrics


From: Jan-Peter Voigt
Subject: Re: markup in lyrics
Date: Wed, 05 Oct 2011 13:18:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Lightning/1.0b2 Thunderbird/3.1.15

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




reply via email to

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