From: Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com>
Date: Tuesday, April 28, 2020 at 2:39 AM
To: lilypond-user <lilypond-user@gnu.org>
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

Reply via email to