lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slur over a single note


From: Carl Sorensen
Subject: Re: Slur over a single note
Date: Mon, 25 Feb 2019 15:04:30 +0000
User-agent: Microsoft-MacOutlook/10.10.7.190210

 

 

From: Urs Liska <address@hidden>
Date: Monday, February 25, 2019 at 4:03 AM
To: lilypond-user <address@hidden>
Subject: Slur over a single note

 

Hi,

I'm in need of an idea how to approach this: I need to print a slur over a single note.

More concretely there already is a markup with a certain width above the note (see attached image), and I need to print a slur over that markup (see second attached image).

It should be possible (I think) to hook into the stencil callback, take the markup stencil and produce a new slur stencil from scratch. But until now I have only taken an existing slur stencil and worked with that, so I'm at a loss as to how I can add a new slur stencil to the existing one.

I've come to the point where I can access the markup as a stencil in the "stencil" override. From here I want to add an additional slur stencil, aligned to that markup stencil and add it to the whole result.

You might work with a bezier-sandwich-stencil, which is what both slurs and ties are constructed from.

See scm/stencil.scm

HTH,

 

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]