Multiple movements - GNU LilyPond
Description: GNU LilyPond

Next: MIDI output, Previous: Music layout, Up: Global issues

### 10.6 Multiple movements

A document may contain multiple pieces of music and texts. Examples of these are an etude book, or an orchestral part with multiple movements. Each movement is entered with a `\score` block,

    \score {
      ..music..
    }

and texts are entered with a `\markup` block,

    \markup {
      ..text..
    }

The movements and texts are combined together in a `\book` block, like

    \book {
      \score {
        ..
      }
      \markup {
        ..
      }
      \score {
        ..
      }
    }

The header for each piece of music can be put inside the `\score` block. The `piece` name from the header will be printed before each movement. The title for the entire book can be put inside the `\book`, but if it is not present, the `\header` which is at the top of the file is inserted.

    \book {
      \header {
        title = "Eight miniatures"
        composer = "Igor Stravinsky"
      }
      \score {
        ...
        \header { piece = "Romanze" }
      }
      \markup {
         ..text of second verse..
      }
      \markup {
         ..text of third verse..
      }
      \score {
        ...
        \header { piece = "Menuetto" }
      }
    }

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

Other languages: English.
Using automatic language selection.