Hi Sam,

This is not nice, but it works :

\version "2.19.28"

#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "barcheck failed at: 1/2"))

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

\relative c'' {
  \override HorizontalBracket.direction = #UP
  g1\startGroup |
  e |
  R |
  R |
  R2 \once\hideNotes r\stopGroup |
  %get the bracket to extend and "include" this final rest
}

Cheers,
Pierre


2015-10-27 22:23 GMT+01:00 Sam Bivens <sambiv...@gmail.com>:

> Hi everyone,
>
> In the attached MWE, I'm hoping to extend the horizontal bracket to the
> right to include the three remaining whole rests.
>
> As it is, Lily is smart enough (darn it...) to stop the bracket at the
> final notated pitch; but can I force the bracket to extend, or will I
> have to come up with another solution to make the bracket?
>
> Obviously I could do it with a hidden second voice, but as the real
> example includes lyrics, etc., I was hoping for a friendlier solution.
>
> Thanks as ever,
>
> Sam
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to