Comment #5 on issue 155 by mts...@gmail.com: \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)))
}}}
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond