lilypond-user
[Top][All Lists]
Advanced

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

Re: MetronomeMark aligned to accidentals


From: David Nalesnik
Subject: Re: MetronomeMark aligned to accidentals
Date: Sun, 6 Apr 2014 18:54:40 -0500

Hi all,

On Sun, Apr 6, 2014 at 11:10 AM, Trevor Daniels <address@hidden> wrote:
 
Maybe someone else will have a better solution.

Well, here's something rough which appears to do the trick.

The basic idea is that the function locates a PaperColumn that is related to both our MetronomeMark grob and an AccidentalPlacement grob.  If it finds it, it calculates the extent of all the accidentals and sets X-offset based on this.

Hope this helps.  Let me know if you run into problems with it.

--David

Attachment: metronome-mark-alignment.ly
Description: Text Data

Attachment: metronome-mark-alignment.png
Description: PNG image


reply via email to

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