lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including Rests in Horizontal Brackets


From: Pierre Perol-Schneider
Subject: Re: Including Rests in Horizontal Brackets
Date: Tue, 27 Oct 2015 23:16:32 +0100

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 <address@hidden>:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]