A single music expression - GNU LilyPond
Description: GNU LilyPond

Next: Multiple scores in a book, 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'}
>          }

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

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

Next: Multiple scores in a book, Previous: File structure, Up: Input files

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