Dear Paul,

On 04/02/2008, Paul Scott wrote:
> Can someone tell me how to fix this?

Sorry, I can't. I have a workaround, though. :-) I had to find a way
to make a pitched trill and came up with this. However, the solution
is not ideal. If you change the size of the trill mark, you have to
find new values for the stencil-offset.

The mail thread:
http://lists.gnu.org/archive/html/lilypond-user/2007-10/msg00124.html

-Risto

%%%%%%%%
\version "2.11.37"

trstyle =
{
    \override TextSpanner   #'style = #'trill
    \override TextSpanner   #'edge-height = #'(0 . 1)
}

trflatstartI =
{
    \trstyle
    \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
    \override TextSpanner #'bound-details #'left #'stencil-offset =
#'(-0.3 . 0.15)
    \override TextSpanner #'bound-details #'left #'text =
        \markup{\musicglyph #"scripts.trill"
        \raise #1.0 \smaller \flat}
}

trflatstartII =
{
    \trstyle
    \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER
    \override TextSpanner #'bound-details #'left #'stencil-offset =
#'(-0.6 . 0.85)
    \override TextSpanner #'bound-details #'left #'text =
        \markup{ \column{\tiny\smaller\smaller\smaller{\flat}
            {\musicglyph #"scripts.trill"}}}
}

\relative c'
{
    f2.. \startTrillSpan f8 \stopTrillSpan |
    \trflatstartI f2..^\startTextSpan f8 \stopTextSpan |
    \trflatstartII f2..^\startTextSpan f8 \stopTextSpan |
}
%%%%%%


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to