Hi,

after quite a long time of not using lilypond I got back to "engraving".
Attached example (modified SATB example, proven to work with other
pieces) produces somewhat surprising result
 - printout with second line extending to the right well past the edge
of the page...
How should I hint lilypond to break the lines and get good result?

Thanks in advance

Michal
global = {
  \version "2.12.1"
  \key c \minor
  \time 4/4
}

sopranonotes = \relative c''
    {
    r2 c2~ c c~ c des2 c1 r4 c2 c4 c2 c4 c b1
    a2 \break r2 r1 r r r r4 c2 c4 f1 e1
    r1 r2 f2~ f es des c4 c4~ (c4 bes8 as bes4 ) bes4 c2 r4 c~ c c c c des2( c) c1
    }
sopranowords = \lyricmode 
    { 
    O vos om- nes, qui trans- i- tis per vi- am 
    et vi- de- te, si_ est do- lor si- mi- lis, si- cut do- lor me- us
    }


altonotes = \relative c'' 
    {
    c,1 as'2.~ g8 f g4~ a bes2 g1 as2. as4 as2 g4 as g8( f f2 e4) f2
    r2 r c'2~ c es2~ es4 d4 d2 c2. bes4 c4.( d8 es4 c4~ c4 bes8 as bes2) c1
    r2 c~ c bes c g bes as4 g f2. f4 g1 a4. a8 a4 g4 bes2( g) a1 
    }


altowords = \lyricmode 
    { 
    O vos om- nes, qui trans- i- tis per vi- am 
    at- ten- di- te 
    et vi- de- te, si est do- lor si- - - -  mi- lis, si- cut do- lor me- us
    }


tenornotes = \relative c' 
    {
    \clef "G" 
    r2 c~ c  es~ es f( f4)(e) e2 r4 f2 f4 f2 es4 c4 des4.( c4 bes2)   
    c r f1 as2. g4 g2  f2( f4) es f( g as2 g4 as~ as8 g f es f2) g1
    as1 g2 f g r4 g( g8 f f2) e4 f2 r4 f~ f e r4 f~ f e e2 f4. f8 f4 c' b2( c) f1 

    }


tenorwords = \lyricmode 
    { 
    O vos om- nes, qui trans- i- tis per vi- am 
    at- ten- di- te 
    et vi- de- te, si est do- lor si- mi- lis, si- mi- lis, si- cut do- lor me- us
    }

bassnotes = {
  \clef bass c2 d2}
basswords = \lyricmode { mi mi }

\score{
  \context ChoirStaff
  <<
    \context Staff = soprano <<
      \context Voice = sop { << \global \sopranonotes >> }
      \lyricsto "sop" \new Lyrics \sopranowords
    >>
    \context Staff = alto <<
      \context Voice = alt { << \global \altonotes >> }
      \lyricsto "alt" \new Lyrics \altowords
    >>
    \context Staff = tenor <<
      \context Voice = ten { << \global \tenornotes >> }
      \lyricsto "ten" \new Lyrics \tenorwords
    >>
    \context Staff = bass <<
      \context Voice = bas { << \global \bassnotes >> }
      \lyricsto "bas" \new Lyrics \basswords
    >>
  >>
}


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

Reply via email to