[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is the lyric tie tweakable?
From: |
David Nalesnik |
Subject: |
Re: is the lyric tie tweakable? |
Date: |
Tue, 25 Apr 2017 19:45:59 -0500 |
On Tue, Apr 25, 2017 at 7:16 PM, Kieren MacMillan
<address@hidden> wrote:
> Hi David,
>
>> \markup \tied-lyric \override #'(word-space . 2) #"le,~au”
>
> Bingo! Didn’t even need to add the extra parameters!
>
>> Don't know at the moment how to make this less cumbersome.
>
> I don’t need this to be less cumbersome — this completely solves my original
> problem.
> (But this exercise did serve to fractionally increase my Scheme-fu…)
>
Nice to hear!
In any case, here's an experiment. It allows for varying the
parameters within the lyricmode expression:
\version "2.19.59"
#(define (lyric-text::special-print overrides)
(lambda (grob)
(let ((text (ly:grob-property grob 'text)))
(grob-interpret-markup
grob
(if (string? text)
(fold
make-override-markup
(make-tied-lyric-markup text)
overrides)
text)))))
tiedLyricOverrides =
#(define-music-function (overrides) (list?)
#{
\override Lyrics.LyricText.stencil = #(lyric-text::special-print overrides)
#})
{
\relative {
\autoBeamOff
r8 b' c fis, fis c' b e,
}
\addlyrics {
\tiedLyricOverrides #'((word-space . 5) (left-pad . 3))
Che~in ques -- ta~e~in quel -- l'al -- tr'on -- da
}
}
%%
Of course, you'd need to add the left-pad property and functionality
to \tied-lyric for it to have any effect.
Hope this is useful. I'm not sure!
David
- is the lyric tie tweakable?, Kieren MacMillan, 2017/04/20
- Re: is the lyric tie tweakable?, Kieren MacMillan, 2017/04/24
- Re: is the lyric tie tweakable?, Kieren MacMillan, 2017/04/25
- Re: is the lyric tie tweakable?, David Nalesnik, 2017/04/25
- Re: is the lyric tie tweakable?, Kieren MacMillan, 2017/04/25
- Re: is the lyric tie tweakable?, David Nalesnik, 2017/04/25
- Re: is the lyric tie tweakable?, Kieren MacMillan, 2017/04/25
- Re: is the lyric tie tweakable?, David Nalesnik, 2017/04/25
- Re: is the lyric tie tweakable?, Kieren MacMillan, 2017/04/25
- Re: is the lyric tie tweakable?,
David Nalesnik <=
- Re: is the lyric tie tweakable?, David Nalesnik, 2017/04/25