lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rehearsal marks, top-staff lyrics, and moved engravers


From: Werner LEMBERG
Subject: rehearsal marks, top-staff lyrics, and moved engravers
Date: Wed, 01 Jun 2022 09:31:58 +0000 (UTC)

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

PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]