Hi Kieren,

2008/9/14 Kieren MacMillan <[EMAIL PROTECTED]>:

> 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>>

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

Reply via email to