On Thu, Sep 8, 2016 at 9:27 AM, Urs Liska <[email protected]> wrote: > Is there a way to determine the width of a markup? > > The question is about a way to center lyric syllables while ignoring > trailing punctuation. My idea is to calculate the width of the > punctuation as compared to the whole syllable and calculate an alignment > offset from that result. So you'd either enter a syllable as > \punctAlignSyl #'("no" . "...") or have an engraver that automatically > parses all syllables and performs that splitting automatically. If I had > the widths of the "no" and the "..." in that example I could calculate > the offset from it. > > Or is there a ready-made solution to ignore punctuation in lyrics alignment?
How about http://lsr.di.unimi.it/LSR/Item?id=888? David _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
