Thanks Simon, I'm not sure how your suggestion would mesh with the piece's overall structure; Here's a more complete take: http://lilybin.com/l8kuff/2 (I tried to trim extra stuff for a minimal example). A completed version is here http://imslp.nl/imglnks/usimg/d/db/IMSLP04156-Bach_-_BGA_439-518.pdf it's number 16 (page 8).
The A section is repeated with different lyrics, this is followed by a few more, non-repeated, phrases. I thought that it would be sensible and useful to have separate variables for the full melody, the full lyrics, bass, and figures. I like this because it keeps the commands within the score block relatively simple, and thus allows me to easily turn off the lyrics (for example) by just commenting out a single line. This gets to something that is not (to my knowledge) well documented: what is a good way of organizing and structuring the lilypond content? Dave ----- Original Message ----- From: "Simon Albrecht" <simon.albre...@mail.de> To: "dl mcnamara" <dl.mcnam...@comcast.net>, lilypond-user@gnu.org Sent: Sunday, February 14, 2016 10:13:47 AM Subject: Re: unusual lyric placement in second verse Hello, On 14.02.2016 15:56, dl.mcnam...@comcast.net wrote: > > I'm typesetting a hymn where the first section is (volta) repeated > with different lyrics. > The way that the words are laid out across the two different lines > seems odd and distracting to me -- > particularly on the fourth and eighth bar. > > (a) why is lilypond laying the two line out displaced from one another? > (b) is there a way to make things line up better? You don’t use \lyricsto when you create the second Lyrics context, hence the problem. Structurally it would be much clearer if you did something like %%%%%%%%%%%% \version "2.18.2" global = { \key f \major \time 3/4 } melody = { \repeat volta 2 \relative c'' { % A section a4 f g | a4 (b) c | c2 b4 | c2.\fermata | a4 bes a | g2 f4 | a2 (g4) | f2. } \break } textA = \lyricmode { % First A section Er -- mun -- tre dich, mein schwa -- cher Geist, und tra -- ge gross Ver -- lan -- gen, } textB = \lyricmode { % Second A section ein klei -- nes Kind, das Va -- ter heißt, mit Freu -- den zu em -- pfan -- gen. } \score { \context PianoStaff << \new Staff = "upper" { \clef treble \global \new Voice = "melody" \melody} \new Lyrics \lyricsto "melody" \textA \new Lyrics \lyricsto "melody" \textB >> } %%%%%%%%%%%%%% HTH, Simon
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user