lilypond-user
[Top][All Lists]
Advanced

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

Re: collision with crescendo text


From: -Eluze
Subject: Re: collision with crescendo text
Date: Mon, 4 May 2009 15:01:46 -0700 (PDT)


kontrapunktstefan wrote:
> 
> Dear community,
> in the below quoted snippet, the crescendo -text should have more space.
> 
> 
may be the code below helps to find a solution (derived from 
http://www.nabble.com/Dynamic-extender-line%3A-regression-to18514160.html#a18519588
http://www.nabble.com/Dynamic-extender-line%3A-regression-to18514160.html#a18519588
):

\paper {
  ragged-right =##f 
  }
mySforzato={
  \override  DynamicTextSpanner #'bound-details =#'(
    (right . (
      (attach-dir .  ,RIGHT)
      (Y . 0)
        (stencil-offset . (.05 . -0.5))
       (padding . 0)
       ) )
    (left . (
      (attach-dir .  ,LEFT)
      (Y . 0)
      (stencil-offset . (-.75 . -0.5))
      (padding . 0)
      ) ) )
  \crescTextCresc
  \override DynamicTextSpanner #'(bound-details right  text) = \markup
\dynamic sf
  \override DynamicTextSpanner #'(style) = #'dotted-line
  \override DynamicTextSpanner #'(dash-period) = #'0.4
  }
{ 
  \mySforzato
  \clef "G_8"
  bes2 \< des \! c1
  }

also you might have to play around with the numbers or make sure that the
distance between the spanned notes is sufficient!
-- 
View this message in context: 
http://www.nabble.com/collision-with-crescendo-text-tp23358930p23377472.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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