[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic text vertical positioning issue
From: |
Aaron Hill |
Subject: |
Re: Dynamic text vertical positioning issue |
Date: |
Mon, 21 Dec 2020 00:26:52 -0800 |
User-agent: |
Roundcube Webmail/1.4.9 |
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