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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to