Hi All,
Try my snippet attached. I know it's not automatic, but it does work.
Bill
On 15-11-14 05:46 PM, Kieren MacMillan wrote:
Hello all,
In the attached snippet, you can see how the notes are evenly spaced when there
is enough overall width (page 1), but become unevenly spaced when the width is
at all cramped (page 2).
An automagic fix for this issue is part of the GSoc Lyric overhaul, and hence
is a long way off from being implemented [if ever!]. In the meantime, I would
love a tweak that would allow me to tell Lily to ignore the LyricText grobs
when spacing that measure; I would then go and nudge the individual grobs left
or right as necessary to make the measure look great.
Unfortunately, I can’t seem to find the correct incantation. (Note: I’ve tried
setting LyricText.X-extent and #'extra-spacing-width, but with unexpected and
not uniform results.)
Thanks,
Kieren.
p.s. Bonus points if this tweak can be applied “externally” (i.e., via the
edition-engraver).
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info
%%%% SNIPPET BEGINS
\version "2.19.30"
\language "english"
#(set-global-staff-size 15.5)
\paper {
ragged-right = ##f
indent = 0
}
global = {
\key g \major
\time 3/2
s1.
}
theNotes = {
<d' d''>8 <fs' fs''> <e' e''> <e' e''>] <d' d''> q <b b'> <fs' fs''> <e' e''> q
<d' d''> q | %
}
theLyrics = \lyricmode {
ez, Ron -- sard me cé -- lé -- brait, du temps que j'ét -- ais
}
theScore = <<
\new Staff \new Voice << \global \theNotes >>
\addlyrics \theLyrics
>>
\bookpart {
\paper { line-width = 6\in }
\score { \theScore }
}
\bookpart {
\paper { line-width = 3\in }
\score { \theScore }
}
%%%% SNIPPET ENDS
%%%% New Attachment
\version "2.19.30"
\language "english"
#(set-global-staff-size 15.5)
\paper {
ragged-right = ##f
indent = 0
}
global = {
\key g \major
\time 3/2
s1.
}
theNotes = {
<d' d''>8 <fs' fs''> <e' e''> <e' e''>] <d' d''> q <b b'> <fs'
fs''> <e' e''> q <d' d''> q | %
}
theLyrics = \lyricmode {
_ez,_ Ron_ -- sard _me_ __cé__ -- __lé__ -- brait, _du_ temps que_
_j'ét_ -- _ais_
}
theScore = <<
\new Staff \new Voice << \global \theNotes >>
\addlyrics \theLyrics
>>
\bookpart {
\paper { line-width = 6\in }
\score { \theScore }
}
\bookpart {
\paper { line-width = 3\in }
\score { \theScore }
}
%%%% SNIPPET ENDS
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user