lilypond-user
[Top][All Lists]
Advanced

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

Re: Shorten one end of a trill spanner manually?


From: Han-Wen Nienhuys
Subject: Re: Shorten one end of a trill spanner manually?
Date: Mon, 08 Jan 2007 21:01:35 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061219)

Trevor Bača escreveu:
> Hi,
> 
> Is there any way to shoren one end (the right end) of a trill spanner by
> hand?
> 
> Something like ...
> 
>  \once \override TrillSpanner #'shorten-pair = #'(0 . 2)
> 
> ... would be ideal.

the easiest I can think of is to shorten the spanner with bound-padding,
and shift it a bit to the left. The fix you referred to earlier is 

          /*
            ugh - a special case.

            FIXME: this fixed an issue, but need to have this issue in
            the issue tracker.

            This fix doesn't quite work: it should only do this if the
            right bound has a trill too.
           */
#if 0
          if (d == RIGHT && me->get_property ("style") == ly_symbol2scm 
("trill"))
            {
              pad = 2.0;
              encl = LEFT;
            }
#endif


-- 

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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