On 2020-12-20 9:35 pm, Ahanu Banerjee wrote:
In the following example, dynamic text does not vertically reposition when "+" marking (i.e., left-hand pizzicato) is given vertical offset. Please
advise if I have missed an obvious solution. Thanks!

\version "2.20.0"
{
  % dynamic text has wrong vertical position:
  \stemDown e'-\tweak extra-offset #'(0.3 . 1.5) _+ \p
  % expected behaviour:
  e'_1\p
}

extra-offset is what it says: "extra". Its effect happens *after* all other layout logic is performed.

You instead need to adjust the X-offset and Y-offset properties:

%%%%
\version "2.20.0"
{
  \stemDown
  e' -\offset X-offset #0.3
     -\offset Y-offset #1.5
     _+ \p
  e' _1 \p
}
%%%%


-- Aaron Hill

Reply via email to