See http://lists.gnu.org/archive/html/lilypond-user/2007-02/msg00006.html
/Mats
[EMAIL PROTECTED] wrote:
Hello!
First of all thanks for your help. I already looked at that section of
the manual, but somehow I didn't got it to work. With your help it now
compiles without errors and warnings, but there is one thing I want to
change:
Now the lyrics are beneath the staffs, but I want them to be above
(because they belong to the first trumpet). If I try something like:
\new PianoStaff <<
\new Lyrics \lyricsto trumpetI \text
\new Staff {
\clef treble \key f \major
<< \new Voice = trumpetI { \voiceOne \trumpetone } \\
\trumpettwo >>
}
\new Staff {
\clef bass \key f \major
<< \tromboneone \\ \trombonetwo >>
}
>>
I get the error that Voice trumpetI is not known. That's because the
voice is declared after \new Lyrics ... - Any idea how to solve this?
Greets
Robert
-----Original Message-----
Date: Thu, 01 Feb 2007 13:44:44 +0100
Subject: Re: Lyrics Problem
From: Mats Bengtsson <[EMAIL PROTECTED]>
To: 9-bert <[EMAIL PROTECTED]>
Basically, what you have to do is to provide a name to the corresponding
voice of music and then refer to that with \lyricsto, see the sections on
lyrics in the manual. In your example, it would look something like
mylyrics = \lyricmode{ Hi, here's some ly -- rics }
\score{
<<
\new PianoStaff <<
\new Staff {
\clef treble \key f \major
<< \new Voice = trumpetI {\voiceOne \trumpetone} \\ \trumpettwo >>
}
\new Staff {
\clef bass \key f \major
<< \tromboneone \\ \trombonetwo >>
}
>>
\new Lyrics \lyricsto trumpetI \myLyrics
>>
}
/Mats
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user