Next: , Previous: File structure, Up: Input files


10.1.3 A single music expression

A \score must contain a single music expression. However, this music expression may be of any size. Recall that music expressions may be included inside other expressions to form larger expressions. All of these examples are single music expressions; note the curly braces { } or angle brackets << >> at the beginning and ending of the music.

{ c'4 c' c' c' }
     
     {
       { c'4 c' c' c'}
       { d'4 d' d' d'}
     }

[image of music]

     
     <<
       \new Staff { c'4 c' c' c' }
       \new Staff { d'4 d' d' d' }
     >>

[image of music]

{
  \new GrandStaff <<
    \new StaffGroup <<
      \new Staff { \flute }
      \new Staff { \oboe }
    >>
    \new StaffGroup <<
      \new Staff { \violinI }
      \new Staff { \violinII }
    >>
  >>
}


Next: , Previous: File structure, Up: Input files

This page is for LilyPond-2.10.33 (stable-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.