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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to