lilypond-devel
[Top][All Lists]
Advanced

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

Re: Feature request: break-align-symbols property for MetronomeMark


From: Neil Puttock
Subject: Re: Feature request: break-align-symbols property for MetronomeMark
Date: Mon, 15 Sep 2008 00:37:33 +0100

Hi Kieren,

2008/9/14 Kieren MacMillan <address@hidden>:

> It would be nice if the second-system RehearsalMark aligned with the first
> note of the measure, as per Read's description.

I agree. More flexibility in alignment of outside-staff objects would be good.

Since my programming skills are rather limited (the learning curve
with LilyPond is pretty steep), the best I can come up with is yet
another context property `alignToNote', which allows a break-alignable
grob to switch allegiance between breakable objects and note columns.
I'm probably committing terrible crimes against programming, but it
seems to work. :)

> Can you calculate the appropriate value(s) from the BarLine #'space-alist,
> then attach the Metronome/Rehearsal Mark to the bar line (invisible or not),
> and pad it from there? I mean, clearly Lilypond knows where to put the first
> note of the measure, so it should be determinable from the values of the
> #'space-alist, no?

I don't know...it sounds quite complicated.  In any case, there's
already a convenient method of aligning to a note column via
currentMusicalColumn, which the Metronome_mark_engraver uses.

Regards,
Neil

Attachment: mark_align.png
Description: PNG image


reply via email to

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