[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tricky tweak
From: |
David Sumbler |
Subject: |
Re: Tricky tweak |
Date: |
Fri, 04 Nov 2016 22:45:41 +0000 |
On Fri, 2016-11-04 at 22:00 +0100, Simon Albrecht wrote:
> 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
Thank you - that has clarified something that has never before been
clear to me.
David