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: Sam Bivens
Subject: Re: Including Rests in Horizontal Brackets
Date: Tue, 27 Oct 2015 19:06:38 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi Pierre,

This works great, and it's nice enough! (It also helped me realize that it wasn't a lack of pitches that caused the problem, but the particular use of R1 at \stopGroup...interesting.)

Thanks again,

Sam

On 10/27/2015 06:16 PM, Pierre Perol-Schneider wrote:
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



--
Sam Bivens
Ph.D. Student, Music Theory
Eastman School of Music
Co-Editor, Intégral

reply via email to

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