Jump to content

Analysis brackets above the staff: Difference between revisions

From LilyPond wiki
No edit summary
m New category
 
Line 19: Line 19:
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 23:15, 21 November 2025

Simple horizontal analysis brackets are added below the staff by default. The following example shows a way to place them above the staff instead.

\version "2.24"

\layout {
  \context {
    \Voice
    \consists "Horizontal_bracket_engraver"
  }
}

\relative c'' {
  \once \override HorizontalBracket.direction = #UP
  c2\startGroup
  d2\stopGroup
}