[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tricky tweak
From: |
Simon Albrecht |
Subject: |
Re: Tricky tweak |
Date: |
Fri, 4 Nov 2016 22:00:22 +0100 |
On 04.11.2016 00:32, David Sumbler wrote:
It certainly does help! I had not realized that the '-' that goes
before the tweak is additional to, and does not replace, the '-' (or
'^' or '_') before the object.
At some point, the markup needs to be turned into a post event attached
to a note by -_^, whether you append it directly or through a tweak (the
third argument to the \tweak music function must be of type music).
So the following works as well:
%%%%%%%%%%%%%
\version "2.19.47"
nonsf = -\markup { \larger \italic "(non " \dynamic sf \larger \italic ")" }
pizz = -\markup { \larger \italic "pizz." }
{
e'
_\tweak self-alignment-X #CENTER
\tweak parent-alignment-X #CENTER
\nonsf
^\pizz
}
%%%%%%%%%%%%%
Best, Simon