On Wed, Jan 5, 2011 at 9:55 AM, -Eluze <elu...@gmail.com> 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
palmer.r.vio...@gmail.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to