On 1/8/07, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
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

Sorry, I must be being dense ... because the code makes it seem like
the right edge of the first spanner here should pad by 2.0, right?

%%% BEGIN %%%

\version "2.11.7"

\new Staff {
  c'4 \startTrillSpan
  c'4 \stopTrillSpan \startTrillSpan
  c'4 \stopTrillSpan
}

%%% END %%%

But no padding happens. (See pic.) What am I missing? Does something
have to be overriden for the feature to be turned on?



--
Trevor Bača
[EMAIL PROTECTED]

Attachment: spanners.png
Description: PNG image

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

Reply via email to