\version "2.24.3"

#(set-default-paper-size '(cons (* 210 mm) (* 5000 mm)))

\header {
  tagline = #f
}

vOne = \relative {
  \omit Stem
  \time 4/4
  \set Score.tempoHideNote = ##t
  \tempo 4 = 105
  \key fis \minor
  \newSpacingSection
  \override Score.SpacingSpanner.spacing-increment = #0.1
  \partial 256 s256 | \bar ".|:"
  \newSpacingSection
  \revert Score.SpacingSpanner.spacing-increment
  \override HorizontalBracket.direction = #UP
  \override HorizontalBracket.bracket-flare = #'(0.0 . 0.0)

  \override NoteHead.style = #'harmonic
  \once\override HorizontalBracketText.text = \markup \concat { \char ##x2212 "2" }
  cis''4\startGroup
  \override Voice.NoteHead.color = "#009e73"
  b4\stopGroup
  \bar "!"
  \revert Voice.NoteHead.color
  \override NoteHead.style = #'triangle
  \once\override HorizontalBracketText.text = "+1"
  gis4\startGroup
  \override Voice.NoteHead.color = "#009e73"
  a4\stopGroup | \bar ":|."
}

vTwo = \relative {
  \omit Stem
  \time 4/4
  \key fis \minor
  \partial 256 s256 |
  \override HorizontalBracket.direction = #UP
  \override HorizontalBracket.Y-offset = 9.25
  \override HorizontalBracketText.text = \markup \concat { \char ##x2212 "2" }
  \override HorizontalBracket.bracket-flare = #'(0.0 . 0.0)
  \override HorizontalBracket.color = "#009e73"
  \override HorizontalBracketText.color = "#009e73"

  <a cis fis>4
  <a cis fis>\startGroup
  <cis d>
  <d e>\stopGroup |
}

fullScore = \new Staff \with { \omit TimeSignature } <<
  \clef "treble_8"
  \new Voice = "g1v1" { \voiceOne \vOne }
  \new Voice = "g1v2" { \voiceTwo \vTwo }
>>

\score {
  \fullScore

  \layout {
    indent = 0

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

\score {
  \fullScore

  \midi { }
}
