bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 155 in lilypond: \parenthesize does not take accidentals into


From: lilypond
Subject: Re: Issue 155 in lilypond: \parenthesize does not take accidentals into account
Date: Sat, 21 May 2011 21:45:26 +0000


Comment #5 on issue 155 by address@hidden: \parenthesize does not take accidentals into account
http://code.google.com/p/lilypond/issues/detail?id=155

This can now be worked around in the most recent git. Same holds true for Issue 868.

\score {
  \new Staff { <\parenthesize ais'> }
  \layout {
    \context {
      \Voice
      \override ParenthesesItem #'stencil = #(lambda (grob)
(let* ((acc (ly:grob-object (ly:grob-parent grob Y) 'accidental-grob))
              (dot (ly:grob-object (ly:grob-parent grob Y) 'dot)))
(if (not (null? acc)) (ly:pointer-group-interface::add-grob grob 'elements acc)) (if (not (null? dot)) (ly:pointer-group-interface::add-grob grob 'elements dot))
         (parentheses-item::print grob)))
}}}





reply via email to

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