2014-06-13 13:07 GMT+02:00 Johan Vromans <jvrom...@squirrel.nl>:

> Hi,
>
> In a construct like
>
>   < \parenthesize g bes>2.
>
> how can I get the parens to include the dot?
>

Hi Johan,

See :
http://lists.gnu.org/archive/html/lilypond-devel/2011-07/msg00906.html

%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

{

   \once\override Voice.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)))

< \parenthesize g bes>2.

}
%%%%%%%%%%%%%%%%%%%%%%%%
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to