Please have a look at this:

%%%%% start .ly

\version "2.8.1"

\score {

  \new Staff { \override Staff.Script #'staff-padding = #2.32 \relative c' {

\once \override TextSpanner #'staff-padding = #2.65 
\once \override TextSpanner #'dash-fraction = #'()
\once \override TextSpanner #'arrow = ##t
\once \override TextSpanner #'arrow-length = #0.75
\once \override TextSpanner #'arrow-width = #0.25

%this is about what I need, but the spanner disappears
\once \override TextSpanner #'shorten-pair =  #'(1.5 . 1.3)

%with this shorten-pair the spanner appears, but is too long
%\once \override TextSpanner #'shorten-pair =  #'(1.2 . 1.3)

\once \override Staff.TextScript #'extra-offset = #'(-1.5 . -3.17) f8.~^\markup 
{ \fontsize #-3 \bold "- 1/8" }[\open\startTextSpan

\once \override Staff.TextScript #'extra-offset = #'(-3.64 . -1.55) 
f16~]\stopped^\markup { \fontsize #-3 \musicglyph #"flags.ugrace" 
}\stopTextSpan }

  }
  \layout { ragged-last = ##t }
}

%%%%% stop .ly



-------- Original-Nachricht --------
Datum: Sun, 10 Sep 2006 18:33:30 +0200
Von: Mats Bengtsson <[EMAIL PROTECTED]>
An: Martin Bergande <[EMAIL PROTECTED]>
Betreff: Re: text spanner collapse

> It's much easier to answer a question like that if you include
> a short (but complete) example that illustrates the problem.
> 
>    /Mats
> 
> Quoting Martin Bergande <[EMAIL PROTECTED]>:
> 
> > hi,
> >
> > dose anyone know how to avoid the collapse of text spanners when they
> > are shortened a lot?
> >
> > version 2.8.1
> >
> > thank you in advance,
> >
> > martin
> > --
> >
> >
> > "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> 
> 

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to