lilypond-user
[Top][All Lists]
Advanced

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

Re: Determine width of a markup


From: David Nalesnik
Subject: Re: Determine width of a markup
Date: Thu, 8 Sep 2016 13:40:44 -0500

On Thu, Sep 8, 2016 at 9:27 AM, Urs Liska <address@hidden> 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



reply via email to

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