lilypond-user
[Top][All Lists]
Advanced

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

Follow up: using a bracket or brace to indicate an organ manual change


From: Joseph Srednicki
Subject: Follow up: using a bracket or brace to indicate an organ manual change
Date: Sun, 12 Aug 2018 17:23:16 -0400

Hello:

Last I asked the members of the mailing list about how to add a brace or bracket to indicate a change of manuals in an organ score.

See the following thread for the messages about this issue:

http://lilypond.1069038.n5.nabble.com/Adding-a-brace-or-bracket-to-indicate-an-organ-manual-change-td201467.html

The members of the mailing list gave some helpful suggestions, including how to move the bar line to avoid a collision with the manual-change bracket.

I have just encountered the situation where the manual-change bracket is colliding with an accidental. See the example included below.

Do any members of this list have any suggestions to resolve this situation?

If the answer is found somewhere in the thread, please accept my apologies and point out where the answer is.

Thanks.

Joe Srednicki

=======================================

\version "2.19.80"
\language "english"
#(define-markup-command (openBracket layout props height) (number?)
   (interpret-markup layout props
     (markup #:line (#:with-dimensions (cons 3 0) (cons 0 0)
                      (#:path 0.25
                        (list (list (quote moveto) 0 0)
                          (list (quote lineto) -1 0)
                          (list (quote lineto) -1 (* height -1))
                          (list (quote lineto) 0 (* height -1))))))))
ch = \markup {\fontsize# -3 \italic "Ch"}
rightOne = \relative c'' {
\time 2/2
<e, g>4 <ds b'>^\ch^\markup\openBracket #17 <e a>\trill g8. [ fs16 ] |
}
leftTwo = \relative c' {
e,4 b' a b |
}
pedal = \relative c {
d4\rest b c ds |
}
\score {
  <<
    \new PianoStaff  <<
      \new Staff = "right" << \rightOne>>
      \new Staff = "left" { \clef bass << \leftTwo>> }
    >>
    \new Staff = "pedal" { \clef bass \pedal }
  >>
}

reply via email to

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