[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lyrics not lining up properly
From: |
Mats Bengtsson |
Subject: |
Re: Lyrics not lining up properly |
Date: |
Mon, 14 Jun 2004 11:00:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
The problem is that each set of lyrics will be typeset in a new
Lyrics context. Since the contexts are placed vertically in the
order they are created, each new one will appear one step further
down. To make LilyPond realize that all the lyrics should be typeset
in the same Lyrics context, you have to do two things:
- Name the context and use the same name every time you use it:
\context Lyrics = mylyrics \lyrics{ ... }
- Make sure that this Lyrics context is kept alive also during
the sections that don't have any lyrics, for example by ending the
first section of lyrics with
\lyrics { ... \skip 2.*20 }
(You have to adjust the number of bars so it doesn't go beyond the
end of the piece, but extend at least up to the start of the last
set of lyrics).
/Mats
Cameron and Trudy Horsburgh wrote:
Hi folks,
I''m typesetting a piece of cornet music which requires the musician to
sing every once in a while. However, each separate instance of lyrics
(presumably in the same context comes out a line lower than the one
before it. It's a bit hard to describe, so here's a cut down version of
what I'm trying to do (I get the same result). I've defined the Lyrics
context earlier in the piece and used it without any problems. It sits
at the same height as does the first instance of my example here. Any
ideas what I'm doing wrong?
\version "2.2.0"
\score{
\notes{
\relative c''{
\key bes \major
\time 6/8
\partial 8 f,8 | bes(d) f, bes(d) f, | bes( d4 )~ d4
<<
{ees8^"(Sing)" | d4 d8 c4 c8 | bes4.~bes4}
{ \context Lyrics \lyrics {A8 hunt4 -- ing8 we4 will8 go.4.}}
>>
f8 | bes(d) f, bes(d) f, | bes( d4 )~ d4
<<
{ees8^"(Sing)" | d4 d8 c4 c8 | bes4}
{ \context Lyrics \lyrics {A8 hunt4 -- ing8 we4 will8 go.4}}
>>
}}}
Cameron
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================