Hi Karol,

On Sat, Oct 19, 2013 at 3:36 PM, Karol Majewski <[email protected]> wrote:

> Hi
>
> Currently I'm making some experiments with ties.
>
> What I need is a function that makes all ties in TieColumn have the same
> length (see attachment). I tried to achieve this by changing some values
> from Tie.details, but couldn't find the right configuration.
>
> Then I tried to modify shapeTieColumn.ly (
> http://lists.gnu.org/archive/html/lilypond-devel/2012-06/msg00285.html)
> but that's probably not the way it should be done.
>
> My question: how difficult would be to write such function?
>

The problem here is that AFAIK you can't tell LilyPond: here are the
attachment points I want for my ties; draw nice ones.
.
I've come up with a sketch which does something like what you want, but you
have to play around with numbers to get a good result.

Basically, it draws however many ties you need, but draws them with the
same shape, lined up.

You need to specify the shape of one of them by giving a list resembling
control points.

The y coordinates in this list are relative to 0.
The x-coordinates represent the horizontal distance of the control points
from the first NoteColumn associated with the TieColumn.

I don't think that makes a lot of sense--and I'm a little too tired to do
better--but I fiddling with the numbers should make it clear.

Now the problems :)

--Layout changes will mess up your hard work.
--Won't work with broken ties as of yet.

Anyway, it's something.

--David

Attachment: lined-up-ties.ly
Description: Binary data

<<attachment: lined-up-ties.png>>

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to