lilypond-user
[Top][All Lists]
Advanced

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

Re: how to get Slur *not* to avoid Stems


From: Kieren MacMillan
Subject: Re: how to get Slur *not* to avoid Stems
Date: Fri, 22 Sep 2006 09:42:18 -0400

Hi, Han-Wen:

I forgot, in some cases, the first position considered is at the end of the stem.

A-ha!

It will need some C++ massaging to correct this, or you have to set control-points.

Or... a really clever (or stupid... it's a fine line!) hack, involving forcing the Slur under, then rotating it 180 degrees and extra-offsetting it back into place! =)

% EXAMPLE BEGIN

\version "2.9.18"

\paper
{
        indent = 0\in
        line-width = 3\in
}

theHack =
{
        \once \override Slur #'rotation = #'(180 0 0)
        \once \override Slur #'extra-offset = #'(0.2 . 2.8)
}
theMusic = \relative c''
{
        \voiceOne
        r8 g' \theHack f_( e ~ e) c d4 \break
}

\score
{
        \theMusic
}

% EXAMPLE END

Thanks!
Kieren.




reply via email to

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