lilypond-user
[Top][All Lists]
Advanced

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

Re: Flexible lyric alignment


From: Carl Sorensen
Subject: Re: Flexible lyric alignment
Date: Fri, 11 Nov 2022 16:23:47 -0700



On Fri, Nov 11, 2022 at 12:33 PM Jean Abou Samra <jean@abou-samra.fr> wrote:


> Le 10 nov. 2022 à 18:22, Carl Sorensen <carl.d.sorensen@gmail.com> a écrit :
>
> Thinking about this in terms of Excel cells, where they can extend as far as possible as long as there are no contents in adjacent cells....
>
> Might it be possible for the lyrics engraver to add something like a lyricPlaceholder grob into adjacent note columns that had no lyricText grob?
> The extent of the lyricPlaceholder could be the negative of the extent of the lyricText in the current  column.
> The lyricText in the current column could be aligned in the opposite direction of the adjacent column.
>
> To those who are more familiar with the layout engine than I am -- could this be a possible approach?


Sorry, I am not understanding your suggestion precisely. Would you mind elaborating?

IIUC, columns are spaced with springs and rods considering collisions between adjacent columns.

The hope was that one could create negative space in the column with no lyricText, thus allowing the adjacent column to overlap the column with no lyrics and not have it be considered a collision.  Then the standard spacing rules could be followed, but the columns could overlap.

Maybe this makes no sense at all (I'm clearly not at expert -- or even a novice -- in the spacing engine).  It was just a thought of a way to try to approach the problem by changing grobs, instead of the spacing engine.

Carl 

reply via email to

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