lilypond-user
[Top][All Lists]
Advanced

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

Re: lyrics hyphens question


From: David Nalesnik
Subject: Re: lyrics hyphens question
Date: Wed, 19 Mar 2014 10:23:55 -0500

Hi Klaus,


On Wed, Mar 19, 2014 at 9:40 AM, Klaus Föhl <address@hidden> wrote:
Hello,

Recently I was talking with a person who also prepares music editions.
We were sitting there later in the night over a beer or two, and then
to illustrate a point I first had to fetch a choral piece on paper
set in lilypond and then also to resort to the laptop.

On paper: lyrics syllables spacing within one word was causing irritation.
>From my old 2.12.3 I still run I know syllables do not have a magnetic
snap property. If they are the minimum distance apart, a hyphen appears.
An unclosed smaller than that gap without hyphen was deemed irritating.
Me suggesting the magnetic snap, my counterpart suggesting
as an alternative being able to force hyphens even in tight spacing.
Reading the 2.18.2 documentation, no word there
neither of magnetic snapping nor of forced hyphenisation.

The question of "magnetic snapping" has come up.

You might be interested in the following thread:
http://lists.gnu.org/archive/html/lilypond-devel/2013-12/msg00425.html

This thread went private after a time, and I proposed the attached solution.  Mike S. had suggested the use of a new grob to collect syllables, and this is what I did.  The new grob is called "LyricWord," and it groups syllables and hyphens.  Collecting grobs like this allows for fairly easy manipulation.  The file contains some *bonus* functions which illustrate stuff you can with the new LyricWord grobs. 

Hopefully, the examples in the file illustrate the usage well enough.  One thing deserves comment: if the distance between syllables is greater than "threshold," no compression happens.

The examples in the files are a little...odd.  The intent here was to show that this would work will all sorts of modifications to the appearance of the markups.

Anyway, hope this helps!

--David

P.S.  Noticed something interesting.  Originally after \lyricsto "foo" in the example file, there was a \lyricsmode.  To get this to run with 2.19.3, I had to take this \lyricsmode out.  So, depending on your version, you may need to put it back in?  Not sure.

Attachment: lyric-word-reconstituter-improved.ly
Description: Text Data


reply via email to

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