Am 09.04.2014 16:17, schrieb MING TSANG:
David,
Thank you for the link. It is good to know that "new Voice" can be use instead of "\new Staff".
Voice and Staff are different things. If you write \new Voice and don't explicitly create a Staff context, it will be created automatically. Thus,

<<
  \new Voice = "melody" {
    a1 a4. a8 a2
  }
  \new Lyrics \lyricsto "melody" {
    These are the words
  }


is the same as

<<
  \new Staff {
    \new Voice = "melody" {
      a1 a4. a8 a2
    }
  }
  \new Lyrics \lyricsto "melody" {
    These are the words
  }


See also http://lilypond.org/doc/v2.18/Documentation/learning/introduction-to-the-lilypond-file-structure. The Learning Manual provides a very useful introduction into such fundamental concepts used in LilyPond and it will help you a lot in understanding how LilyPond works.

Best regards,
Simon
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to