lilypond-user
[Top][All Lists]
Advanced

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

Re: \dim and avoid-slur


From: Trevor Daniels
Subject: Re: \dim and avoid-slur
Date: Sun, 14 Jun 2015 09:54:29 +0100

Simon, you wrote Sunday, June 14, 2015 12:20 AM

> I stand corrected. And thanks for spelling out that explanation :-) I 

Happy to help; sorry for sounding a little irritated.

> And I just noticed that, with outside-staff-priority being 
> unset for both (or rather, all three), avoid-slur doesn’t have the 
> desired effect, they will just collide (see attachment). But that would 
> be a different issue.

Not really different.  This is because dynamics and dynamic spanners
are not articulations.  "avoid-slur" works only with articulations.

As you suppress the dim extender you could use a simple markup
to achieve the same appearance, and markups _are_ articulations, 
so avoid-slur works fine with them if you unset their outside-staff-priority.

Try:

\score {
  <<
    \new Voice {
      <<
        { d''1
          %-\tweak outside-staff-priority #0
          (
        }
        { s2 s
%          -\tweak style #'none
          -\tweak avoid-slur #'inside
          -\tweak outside-staff-priority ##f
%          -\tweak DynamicLineSpanner.outside-staff-priority ##f
%          ^\dim
          ^\markup \italic "dim."
        }
      >>
      es''4)\!
    }
    \new Voice {
      8 8 8 8 8 8 8 8
      4
    }
  >>
}

But if you want to control the positioning of 'proper' dynamics you have
to set relative values for outside-staff-priority rather than using avoid-slur.

Trevor

reply via email to

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