[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd interaction between ly:grob-property and hairpin
From: |
Simon Albrecht |
Subject: |
Re: Odd interaction between ly:grob-property and hairpin |
Date: |
Fri, 11 Feb 2022 00:36:52 +0100 |
Hello Jean,
thanks for the information. I can’t respond to each point right now, too
tired. But…
On 10/02/2022 19:40, Jean Abou Samra wrote:
What are you trying to achieve in the first place?
I’m in another iteration of writing a macro for adjusting placement of
dynamics (Hairpin, DynamicText and DynamicTextSpanner). It needs to
allow intersection with staff lines, interact well with
DynamicLineSpanner and have a concise, reliable, clear user interface
suitable for frequent use. (What I’m after and have been using in most
iterations is something like @code{ c1\off #'(-1 . 2) \f }). I have
switched to using grob callbacks since I didn’t see another way of
reacting to grob type, direction and previous offsets adequately. I need
to set multiple grob properties (of more than one grob) and since saving
large amounts of vertical space is the whole point, it obviously needs
to be before-line-breaking.
However, I’m slowly realising that I don’t know well enough what exactly
the functionality is supposed to be and how much of that is even feasible.
I’m hoping to get back to you tomorrow.
Best, Simon