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: Trevor Bača
Subject: Re: Shorten one end of a trill spanner manually?
Date: Mon, 8 Jan 2007 15:12:40 -0600

On 1/8/07, Han-Wen Nienhuys <address@hidden> 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.

Playing with bound-padding, it looks like bound-padding has the
unfortunate effect of creating a gap at the *left* end of the trill
spanner (opening up space between the "tr" and the beginning of the
trill line) rather than at the *right* end (which is where the
whitespace needs to open up instead).

%%% BEGIN BOUND PADDING %%%

\version "2.11.7"

\new Staff {
  \once \override TrillSpanner #'bound-padding = #4
  \once \override TrillSpanner #'extra-offset = #'(-4 . 0)
  c'4 \startTrillSpan
  c'4 \stopTrillSpan \startTrillSpan
  c'4 \stopTrillSpan
  c'4
}

%%% END %%%



--
Trevor Bača
address@hidden

Attachment: bound-padding.png
Description: PNG image


reply via email to

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