Having recently fixed a similar problem with bar numbering by moving
the Mark_engraver and adding Staff_collecting_engraver at Staff level,
I've run into the following: my bar numbers are running along the
skyline of my lyrics, as shown in the fabricated example.

I like the 4 in the normal (default) position, and would prefer the
others to settle at the same level: below the upper lyrics, just above
the staff.

As before, I've arrived at   4.4.3 Outside-staff objects   on p114 of
the Learning Manual (2.19.36) but, although there are default
priorities for bar numbers (and measure numbers, what's the
difference? apart from 650 in priority), lyrics are not mentioned
(as not grobs?). It's often the case that I can work out how to do
two things on separate occasions, but not when they happen together.

Cheers,
David.
\version "2.19.32"
\language "english"

\header { tagline = ##f }
\paper { #(set-paper-size "a5") }

\layout {
  indent = 0
  \context {
    \Score
    \override SystemStartBar.collapse-height = #1
    \override BarNumber.break-visibility = #end-of-line-invisible
    barNumberVisibility = #(every-nth-bar-number-visible 2)
    \remove Mark_engraver
  }
  \context {
    \GrandStaff
    systemStartDelimiter = #'SystemStartBracket
    \override SystemStartBracket.collapse-height = #1
  }
  \context {
    \Staff
    \omit TimeSignature
    \consists Mark_engraver
    \consists Staff_collecting_engraver
  }
}

global = {
  \key d \dorian \time 4/4 s1 * 6
}

soprano = \relative {
  a'2. a4 a4 a g e f4. g8 ( a4 ) a \break
  g4 e f4. g8 a8 ( b c2 ) b4~ b4 a2 gs4
}

alto = \relative {
  d'2. d4 c4 a b c d2 c4 a
  b4 c d2 f4 e4. ( d8 ) e4 c4 d ( e2 )
}

tenor = \relative {
  f2. f4 f4 f g g a2 a4 f
  g4 g a2 a4 a2 gs4 a2 b
}

bass = \relative {
  d2. d4 f4 f e e d4. e8 ( f4 ) f
  e4 e d2 d4 a2 e'4 f2 e
}

sopranotext = \lyricmode {
  Lord, now let -- test thou thy ser -- vant de -- part in peace
  ac -- cor -- ding __ to thy word.
}

altotext = \lyricmode {
  Lord, now let -- test thou thy ser -- vant de -- part in peace
  ac -- cor -- ding to thy __ word.
}

\score {
  \new GrandStaff <<
    \new Staff = st <<
      \clef treble \global
      \new Voice { \voiceOne \soprano }
      \addlyrics \with { alignAboveContext = st } { \sopranotext }
      \new Voice { \voiceTwo \alto }
      \addlyrics { \altotext }
    >>
  >>
}

Attachment: nunc.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to