Dear LilyPonders,

the snippet below demonstrates that top-staff lyrics are incorrectly
positioned above rehearsal marks if the engraver for the latter is
moved to another context (I need that in a full score with rehearsal
marks printed simultaneously at three different vertical positions).

What am I missing?


    Werner
music = { a'1 ~ | a' } 
text = \lyricmode { foo __ }
top = { s1 | \mark\default s1 }

\score {
  \new Staff = "staff"
  <<
    \top
    \music

    \new NullVoice = "aligner" \music
    \new Lyrics \with { alignAboveContext = "staff" }
      \lyricsto "aligner" \text
  >>
}


\score {
  \new Staff = "staff" \with { \consists Mark_engraver }
  <<
    \top
    \music

    \new NullVoice = "aligner" \music
    \new Lyrics \with { alignAboveContext = "staff" }
      \lyricsto "aligner" \text
  >>

  \layout {
    \context {
      \Score
      \remove Mark_engraver
    }
  }
}

Reply via email to