Hi Harm, On Thu, Sep 29, 2011 at 5:59 PM, Thomas Morley < thomasmorle...@googlemail.com> wrote: > > Hi David, > > I thought a while about your "hackishness" :) > > As a first step it seems to be possible to add a grob-custom-property to > define-grob-properties.scm in some way (thanks to Arnold from the german > lilypond forum, who had the idea http://www.lilypondforum.de/index.php). > > The code below gives only the name, description and the type of argument of > the new grob-custom-property. But the little test shows no problems and no > warning in the log. > > [snip]
Wonderful! Thank you so much! The log now offers no comment on my hackery :) I tried this with a two-voice example (see center-between.ly), and sure enough, the problem with "choosing" the wrong grobs to center between disappears. I've also attached a revision of another function which aligns a grob to a single other grob in specified ways. (This was discussed at http://www.mail-archive.com/lilypond-user@gnu.org/msg62226.html) Best, David
center-between.ly
Description: Binary data
alignGrob_rev.ly
Description: Binary data
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user