Previous: Blank music sheet, Up: Outside the staff


1.7.2.4 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 the 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"
     }}}

[image of music]

See also

Snippets: Editorial .

Internals Reference: HorizontalBracket, Horizontal_bracket_engraver, Staff.


Previous: Blank music sheet, Up: Outside the staff

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

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

Your suggestions for the documentation are welcome.

Andere Sprachen: français, español.