[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: MetronomeMark aligned to accidentals
From: |
Daniel Rosen |
Subject: |
RE: MetronomeMark aligned to accidentals |
Date: |
Mon, 07 Apr 2014 11:46:27 +0000 |
> -----Original Message-----
> From: Trevor Daniels [mailto:address@hidden
> Sent: Monday, April 07, 2014 6:43 AM
> To: David Nalesnik
> Cc: Daniel Rosen; lilypond-user
> Subject: Re: MetronomeMark aligned to accidentals
>
>
> David, you wrote Monday, April 07, 2014 12:54 AM
>
> > 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.
>
> That looks pretty good to me, thanks David.
>
> Trevor
+1
Re: MetronomeMark aligned to accidentals, Trevor Daniels, 2014/04/05