lilypond-user
[Top][All Lists]
Advanced

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

Re: Text positioning at double bar


From: Guy Stalnaker
Subject: Re: Text positioning at double bar
Date: Wed, 5 Jun 2019 12:32:40 -0500

Thanks Phil -- "hackish" is word? LOVE it :-)

If the output looks good, I'm good.

Guy

Guy Stalnaker
address@hidden


On Wed, Jun 5, 2019 at 11:33 AM Phil Holmes <address@hidden> wrote:
Don't know how hack-ish you mind as a solution to do this, but using this for the music:
 
ef'1*31/32 \once \hideNotes ef'32 \bar "||" \time 2/4
 
and this for the lyrics:
 
"O Lord, open thou our lips" \markup { \char #8239 }
 
puts a hidden note at the end of the bar, and places a non-breaking space below it, thus pushine the bar line out.  Any use?

--
Phil Holmes
 
 
----- Original Message -----
From: Guy Stalnaker
To: lilypond-user Mailinglist
Sent: Wednesday, June 05, 2019 3:52 PM
Subject: Text positioning at double bar

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


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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