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: Abraham Lee
Subject: Re: Determine width of a markup
Date: Thu, 8 Sep 2016 11:46:37 -0600

On Thu, Sep 8, 2016 at 8: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?

Have you seen this: http://lsr.di.unimi.it/LSR/Item?id=888 

Best,
Abraham

reply via email to

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