|
From: | Pierre Perol-Schneider |
Subject: | Re: Lyrics vs horizontal spacing |
Date: | Tue, 28 Apr 2020 16:15:37 +0200 |
From: Pierre Perol-Schneider <address@hidden>
Date: Tuesday, April 28, 2020 at 2:39 AM
To: lilypond-user <address@hidden>
Subject: Lyrics vs horizontal spacing
<snip>
I'm not sure if this is a bug (I didn't find any it in the bug list).
Anyway, I'd like to avoid this bad spacing. Any idea how to?
CS-> I eliminated it by using \addlyrics. I have found \addlyrics to be difficult enough to use properly that I exclusively use \lyricsto
%%
\version "2.20.0"
%% just a line to show the horizontal spacing:
redline = \markup {
\with-color #red
\with-dimensions-from \null
\translate #'(.6 . -15)
\draw-line #'(0 . 25)
}
%%%
\score {
<<
<<
{ \voiceOne c'' 4 4 4 \new Voice { \voiceOne c''4 4 4 } 4 4 } \\
{ \voiceTwo c'4 4 4 4-\redline 4 4 4-\redline 4 }
>>
\new Staff = Portee <<
{
\voiceOne c'' 4 4 4
\new Voice = "lyrvoice" { \voiceOne c''4 4 4 }
% \addlyrics \with { alignAboveContext = "Portee" } { la la la }
4 4 } \\
{ \voiceTwo c'4 4 4 4 4 4 4 4 }
>>
\new Lyrics \with {alignAboveContext = "Portee"}
\lyricsto "lyrvoice" { la la la }
>>
}
\layout {
\context {
\Voice
\override NoteColumn.force-hshift = 0 % <= no effect
}
\context {
\Lyrics
\override LyricText.font-size = #-10 % <= no effect
}
}
%%%
HTH,
Carl
[Prev in Thread] | Current Thread | [Next in Thread] |