lilypond-user
[Top][All Lists]
Advanced

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

Re: hairpin with overlayed text


From: Ralph Palmer
Subject: Re: hairpin with overlayed text
Date: Wed, 5 Jan 2011 11:47:43 -0500



On Wed, Jan 5, 2011 at 9:55 AM, -Eluze <address@hidden> wrote:

there is a nice little snippet to add text to a hairpin:
http://lsr.dsi.unimi.it/LSR/Item?id=233
http://lsr.dsi.unimi.it/LSR/Item?id=233 .

now it would be nice to move the text a little bit upwards to fit right into
the hairpin and to whiteout the hairpin for the length of the text.

the first part is quite easy (just override  "Y DOWN" with  "Y CENTER") -
but the other part is far beyond my Scheme-knowledge.

can anybody help?

thanks
Eluze
--

I think all you have to do is include \whiteout - i.e. :
hairpinMolto = \hairpinWithCenteredText \markup \whiteout { \italic molto }

If that doesn't give enough white space,
hairpinMolto = \hairpinWithCenteredText \markup \whiteout \pad-markup #0.5 { \italic molto }
should do the trick, I think, with a properly adjusted number for the 0.5.

Ralph

--
Ralph Palmer
Montague City, MA
USA
address@hidden

reply via email to

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