Analysis brackets - GNU LilyPond
Description: GNU LilyPond

Next: Coloring objects, Previous: Easy Notation note heads, Up: Educational use

#### 8.5.6 Analysis brackets

Brackets are used in musical analysis to indicate structure in musical pieces. LilyPond supports a simple form of nested horizontal brackets. To use this, add the Horizontal_bracket_engraver to Staff context. A bracket is started with `\startGroup` and closed with `\stopGroup`

>          \score {
>            \relative c'' {
>              c4\startGroup\startGroup
>              c4\stopGroup
>              c4\startGroup
>              c4\stopGroup\stopGroup
>            }
>            \layout {
>              \context {
>                \Staff \consists "Horizontal_bracket_engraver"
>          }}}

##### See also

Program reference: HorizontalBracket.

Examples: `input/regression/note-group-bracket.ly`.

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

Other languages: English.
Using automatic language selection.