Peter Toye <lilyp...@ptoye.com> writes:

> I'm trying to set a passage of vocal music with a short solo line. But
> the example below shows that the lyric is not attached to the correct
> staff. Any ideas how to get it right simply?

\version "2.22.1"
\language "english"
{
  \new Staff = "Tutti" {
    <<
      \new Voice = "TuttiVoice" {
        \relative {
          c'4 d e f |
          << {
            g f e d |
            c d e f |
            }
            {
              \new Staff ="ossia" \with {
                \remove "Time_signature_engraver"
                firstClef = ##f
                alignAboveContext = "Tutti"
              }
              \relative {
                b'4 a g f |
                e f g a |
              } \addlyrics \with { alignBelowContext = "ossia" } {
                So -- lo so -- lo so -- lo so -- lo
              }
            }
          >>
          g f e d |
        }
      }
      \new Lyrics \lyricsto "TuttiVoice" {
        Tut -- ti tut -- ti  tut -- ti tut -- ti
        Tut -- ti tut -- ti  tut -- ti tut -- ti
      }
    >>
  }
}

-- 
David Kastrup

Reply via email to