lilypond-user
[Top][All Lists]
Advanced

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

Text positioning at double bar


From: Guy Stalnaker
Subject: Text positioning at double bar
Date: Wed, 5 Jun 2019 09:52:04 -0500

All,

This snippet produces output where the final word of the opening bar is positioned below the first double-bar and not before it. The problem is this type of music, an Anglican Preces and Responses. The officiant chants the text on a reciting tone (the e-flat whole note in bar 1) and thus the entire text must be engraved below that note. I've used both "text in quotes" and text_with_underlines and LP engraves them in the way this snippet shows.

In the entire Preces and Responses this "word engraved below or after the double-bar" occurs three times.

%% SNIPPET %%

\version "2.19.64"
\language "english"

\header { }

global = {
  \key ef \major
  \time 4/4
}

soprano = {
  \global
  % Music follows here.
  ef'1 \bar "||" \time 2/4
  g'4 af' | \time 3/4
  bf'4. c''8 af'4 | \time 4/4
  g'2 \bar "||" \break
}

alto = {
  \global
  % Music follows here.
  s1 \bar "||" \time 2/4
  ef'4 c'| \time 3/4
  ef'4. ef'8 ef'4 | \time 4/4
  bf2 \bar "||"
}

tenor = {
  \global
  % Music follows here.
  s1 \bar "||" \time 2/4
  bf4 af | \time 3/4
  g4. af8 f4 | \time 4/4
  ef2 \bar "||"
}

bass = {
  \global
  % Music follows here.
  s1 \bar "||" \time 2/4
  ef4 f | \time 3/4
  g4. ef8 ef4 | \time 4/4
  ef2 \bar "||"
}

verse = \lyricmode {
  % Lyrics follow here.
  \override LyricText.self-alignment-X = #LEFT
  "O Lord, open thou our lips"
 
  \override LyricText.self-alignment-X = #CENTER
  And our mouth shall shew forth thy praise.
}

\score {
  \new ChoirStaff <<
    \new Staff
     <<
      \new Voice = "soprano" { \voiceOne \soprano }
      \new Voice = "alto" { \voiceTwo \alto }
    >>
    \new Lyrics \with {
    } \lyricsto "soprano" \verse
    \new Staff
    <<
      \clef bass
      \new Voice = "tenor" { \voiceOne \tenor }
      \new Voice = "bass" { \voiceTwo \bass }
    >>
  >>
  \layout {}
}

%% SNIPPET %%

Guy Stalnaker
address@hidden

reply via email to

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