lilypond-user
[Top][All Lists]
Advanced

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

center NoteColumn


From: Thomas Morley
Subject: center NoteColumn
Date: Wed, 30 Nov 2011 00:16:30 +0100

Hi,

the attached code is my attempt to center a NoteColumn in a measure (like MultiMeasureRest).
It's based upon http://old.nabble.com/centering-text-on-a-measure-td32377202.html (thanks to David Nalesnik)

While it works fine in most cases, there is one major problem:
Having a key-change to a\minor or c\major the function should adress the keyCancellation as left bound to center the following NoteColumn.

But it doesn't, instead I get the log-warning: Infinity or NaN encountered

I've no idea why!
How to improve?


Cheers,
Harm

Attachment: center-note-column-08.ly
Description: Text Data


reply via email to

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