I believe the default behavior in this case used to be for the dynamics to
collide with the bar line. These days it is creating a bit more space for
the dynamic. That's the right behavior in most cases, but not the one
below. How do I allow the collision in this case and let the 'sempre' hang
to the left over the bar line? I haven't figured out the right override to
let this happen yet. Thanks.

Example:
=====
\version "2.19.63"

sempreFF = #(let ((dynamic (make-dynamic-script #{ \markup { \whiteout {
\normal-text \italic sempre \dynamic ff }} #})))
             (ly:music-set-property! dynamic 'tweaks (acons 'X-offset -8.5
(ly:music-property dynamic 'tweaks)))
             (ly:music-set-property! dynamic 'tweaks (acons
'self-alignment-X LEFT (ly:music-property dynamic 'tweaks)))
             dynamic)

% Looks good
\score {
  \new Staff {
    c4 c c c |
    c\sempreFF c c c |
  }
}

% creates empty space
\score {
  \new GrandStaff <<
    \new Staff {
      c4 c c c |
      c\sempreFF c c c |
    }
    \new Staff {
      c4 c c c |
      c\sempreFF c c c |
    }
  >>
}
=====

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

Reply via email to