Hi Carl,
Thanks, but since you gathered both staves to a single score, yes that
works.
However, if 2 scores the first syllable looks ok -- so better output -- but
the problem remains:

\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
      \tweak extra-offset #'(-.5 . -9)\mark\redline }
  >>
}

\score {
  <<
    \new Staff = Portee <<
      {
        \voiceOne c'' 4 4 4
          \new Voice ="lyrvoice" { \voiceOne c''4 4 4 }
        4 4 } \\
      { \voiceTwo c'4 4 4 4 4 4 4 4 }
    >>
    \new Lyrics \lyricsto "lyrvoice" { la -- la -- la }
  >>
  \layout {
    \context {
      \Lyrics
      alignAboveContext = "Portee"
      \override LyricText.font-size = #0
      %\remove Axis_group_engraver %% Yep!!
      %\override LyricText.Y-offset = 1
      %\override LyricHyphen.Y-offset = 1
    }
  }
}

Cheers,
Pierre

Le mar. 28 avr. 2020 à 15:03, Carl Sorensen <c_soren...@byu.edu> a écrit :

>
>
>
>
> *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