Next: , Previous: Text spanners, Up: Expressive marks



5.7.7 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 (lilypond-internals) to Staff (lilypond-internals) 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"
     }}}

[image of music]

See also

Program reference: HorizontalBracket (lilypond-internals) , NoteGroupingEvent (lilypond-internals) .

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

Read comments on this page, or add one.

This page is for LilyPond-2.5.11 (development-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.