On Sat, Dec 8, 2012 at 8:11 PM, Mark Stephen Mrotek
<[email protected]> wrote:
> Hello:
>
>
>
> Following Mr. Nalesnik’s suggestions I followed the template at
>
> http://www.mail-archive.com/[email protected]/msg69861/rN.ly
>
> and corrected some grammar.
>
>
>
> I entered this as a test:
>
> analysis = \lyricmode {
>
>   \set stanza =  #'e:

Try:

\set stanza = #"e:"

Also, you need to explicitly create a Voice context called "leftTwo"
in order to use \lyricsto.  Right now, "leftTwo" is the name of the
variable that contains your music, not the name of the context you
want to attach the lyrics to.

Here's a working template:

analysis = \lyricmode {
  \set stanza =  #"e:"
  \markup \rN { v }
}

rightOne = {
  s1
}

rightTwo = {
  s1
}

leftOne = {
  s1
}

leftTwo = {
  c1
}

\score {
  \new PianoStaff  <<
    \new Staff = "right" << \rightOne \\ \rightTwo >>
    \new Staff = "left" <<
      \clef bass
      \new Voice {
        \leftOne
      }
      \new Voice = "leftTwo" {
        \leftTwo
      }
      >>
    \new Lyrics \lyricsto "leftTwo" { \analysis }
  >>
  \layout { }
}

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

Reply via email to