lilypond-user
[Top][All Lists]
Advanced

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

simple change moves lyrics???


From: Brian McMinn
Subject: simple change moves lyrics???
Date: Fri, 26 Oct 2001 22:04:37 -0700 (PDT)

Here are two bits of lilypond input.  The first
version
does what I want it to do - it prints the two top
voices on the top staff, the words in the middle and
the two lower voices on the lower staff. (Lily version
is 1.4.7)

\score {
       <

                \context Staff = upper 
                    <
                        \addlyrics
                        \context Voice=sop {\global \voiceOne \sop}
                        \Words
                        \context Voice=alto {\global \voiceTwo \alto}
                    >
                
                \context Staff = lower { \clef bass
                    <
                        \context Voice=tenor {\global \voiceOne \tenor}
                        \context Voice=bass { \global \voiceTwo \bass}
                    >
                }
        >
}

My second example is EXACTLY the same except that I
put in another level of hierarchy to put in the
(redundant) information that the first Staff has
a treble clef on it.

\score {
       <

                \context Staff = upper { \clef treble
                    <
                        \addlyrics
                        \context Voice=sop {\global \voiceOne \sop}
                        \Words
                        \context Voice=alto {\global \voiceTwo \alto}
                    >
                }
                \context Staff = lower { \clef bass
                    <
                        \context Voice=tenor {\global \voiceOne \tenor}
                        \context Voice=bass { \global \voiceTwo \bass}
                    >
                }
        >
}

This time, lilypond puts the two staffs together and
then puts the lyrics below them both.  I've always
been
puzzled about the exact use of Staffs and ChoirStaffs
and such, but this one makes me realize that I really
don't understand what they mean and how they work.

Anybody care to explain why these are different?

   Thanks,
   Brian McMinn

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com



reply via email to

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