How to avoid dynamic clashes? If you read about dynamics in the NR, it says: "Vertical positioning of dynamics is handled by Section "DynamicLineSpanner" in Internals Reference." Looking in the IR we see reference to Y-offset. So this does as you wish, I think:
\score { << \new Staff { \clef "bass" c16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 } \new Dynamics { \once \override DynamicTextSpanner.style = #'none \once \override DynamicLineSpanner.Y-offset = #2 s16\cresc s16\dim s4\! } >> } -- Phil Holmes ----- Original Message ----- From: Peter Toye To: lilypond-user@gnu.org Sent: Friday, December 20, 2019 4:10 PM Subject: How to avoid dynamic clashes? I'm trying to set a score where dynamic words are too close together for beautiful typesetting. I've tried using offsets to move one of them vertically, but they don't seem to work. What's the best way of setting this to produce a good-looking result? \version "2.19.83" \score { << \new Staff { \clef "bass" c16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 } \new Dynamics { \once \override DynamicTextSpanner.style = #'none \once \override DynamicText.extra-offset = #'( 0 . -3) s16\cresc s16\dim s4\! } >> } Regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com