On 2022-07-31 2:11 pm, Jim Cline wrote:
Can you provide a MWE? (https://lilypond.org/tiny-examples.html)
--
Knute Snortum
Sure, here is one. The vspace is ignored, no matter what value is
given.
%%%
\version "2.20.0"
\relative c {
\time 3/4
g'' e' d_\markup{\hspace #-4 \vspace #-7 x}
}
I am not certain negative \hspace or \vspace is supported. For \hspace,
it probably only works by fluke.
Regardless, in order to overlap the staff, you must disable
outside-staff-priority. Additionally, you may need to specify negative
padding. Consider:
%%%%
\relative c {
\time 3/4
g'' e' d-\tweak outside-staff-priority ##f
-\tweak X-offset -1.2 -\tweak Y-offset 1
_\markup \with-color #red \vcenter x
}
\relative c {
\time 3/4
g'' e' d-\tweak outside-staff-priority ##f
-\tweak padding #-5
_\markup \translate #'(-1.2 . 3.5)
\with-color #red \vcenter x
}
%%%%
-- Aaron Hill