lilypond-user
[Top][All Lists]
Advanced

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

Re: Question about left-aligning syllables at beginning of lines


From: Carl Peterson
Subject: Re: Question about left-aligning syllables at beginning of lines
Date: Tue, 9 Apr 2013 13:34:03 -0400

The best I can do for a sample at the moment is this PDF that is an advertisement for a hymnal that uses left-justified first syllables. It does not right-justify the last syllables.

http://www.sumphoniahymnal.com/copy-content/hymnal-info-toc.pdf

This hymnal does something else I wouldn't mind being able to do. You'll notice on page 2 (with the picture of the print sample) that the lines on the left side are shorter than those on the right side. They do this so that they can break the systems at the end of lyrical phrases, rather than margin breaks, without stretching out the lyrics to the point of unreadability. However, this is not the same as ragged-right, as I understand it. The lines are not engraved at their "natural" lengths, but are set at the best width from a set of possible widths (so that, for example, line with 10 syllables may take the full line length, but two lines with 6 syllables may both take 70% of the line length if one line sets naturally at 68% and the other at 75%.

Furthermore, the systems in a hymn are left justified within the hymn, but the hymn itself is centered on the page.

Also, is there a command/property for score footers, as in the example? Right now, I'm replicating this with markup commands, but would like to be able to stylesheet this like the score headers.

So, for whoever may be keeping score or trying to figure out how many directions this thread is going in, I've asked about this:

1. Left-aligning the first syllable of every system.
2. "Quantizing" the system lengths so that shorter lines don't fill the page, but aren't necessarily set at the natural length.
3. Left-aligning the systems within a score, but centering each score on the page
4. Adding score footers that can use the header information.

Cheers,
Carl


On Tue, Apr 9, 2013 at 12:33 PM, Janek Warchoł <address@hidden> wrote:
2013/4/9 Carl Peterson <address@hidden>:
> As I mentioned in another thread, I'm working on a hymnal/psalter project
> and ideally would like to justify both the left and right edges of each line
> of lyrics.

Interesting.  I don't quite see why you would want that - i'd have to
see a picture.
Anyway, i'm pretty sure that such a feat can be achieved with a scheme
function, but i have little expertise writing them.  Maybe some of the
Schemers on the list will help you.

> I'm willing to settle for the left edge, if the right edge is too
> cumbersome to do. I manually right-justified the last syllables on one
> psalm, but hard right justification doesn't look good since it puts the
> right edge under the notehead. My concern with fractional right
> justification is that if it is proportional (setting the alignment to #0.5
> justifies halfway between center and right, relative to the width of the
> syllable), I'll still end up with a ragged line.

Hopefully in a future LilyPond version it will be possible to specify
an additional offset to alignment, so that you could right-align and
then move the syllables some fixed amount to the right.  I'm currently
working on this part of LilyPond, but i have no idea when my work will
be included in the main codebase.

best,
Janek


reply via email to

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