Thank you all for the responses on this question. I’m super impressed by the quickness and quality of the replies. I ended up using the solution provided by Klaus. I had figured out that modifying a Horizontal Bracket Engraver would be a good way to go, but hadn’t figured out how to create my own stencil, drawing in it how I pleased. Klaus's solution works perfectly!
cheers, John > On Oct 30, 2016, at 4:30 PM, Robin Bannister <r...@dabble.ch> wrote: > > John Zeweniuk wrote: >> Can anybody give me some suggestions of how I would draw an oval around a >> group of notes on the staff? > > > For the special case of a single chord, see the german thread > http://www.lilypondforum.de/index.php?topic=378 > > > The 2.18 version of this would read > %%%%%%%%%% > kringel = > \once \override NoteColumn.stencil = #(lambda (grob) > (let* ((xext (ly:grob-extent grob grob X)) > (yext (ly:grob-extent grob grob Y)) > (xpos (interval-index xext CENTER)) > (ypos (interval-index yext CENTER)) > (yrad (* 0.8 (interval-length yext))) > (xrad (min (interval-length xext) 2)) > (thickness 0.05)) > (ly:stencil-add > (ly:stencil-translate > (ly:make-stencil (list 'ellipse xrad yrad thickness #f)) > (cons xpos ypos)) ))) > %%%%%%%%%% > > > Cheers, > Robin > <kringel218.png> _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user