lilypond-user
[Top][All Lists]
Advanced

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

Re: Drawing an Oval around a group of notes


From: Thomas Morley
Subject: Re: Drawing an Oval around a group of notes
Date: Sun, 30 Oct 2016 23:34:44 +0100

2016-10-30 22:13 GMT+01:00 John Zeweniuk <address@hidden>:
> Can anybody give me some suggestions  of how I would draw an oval around a 
> group of notes on the staff?
>
> thanks,
>
> John


Hi John,

there's no out of the box function for this.
You can use TextScript and adjust it manually:

{
    \override TextScript.outside-staff-priority = #'()
    \override TextScript.staff-padding = #'()
    %\override TextScript.X-offset = 40
    \override TextScript.Y-offset = 0
    c''^\markup \oval \with-dimensions #'(1 . 9) #'(-10 . 10) \null
    d'' e'' f''
}

{
    \override TextScript.outside-staff-priority = #'()
    \override TextScript.staff-padding = #'()
    %\override TextScript.X-offset = 40
    \override TextScript.Y-offset = 0
    c''^\markup \oval \with-dimensions #'(0.8 . 9) #'(-4 . 4) \null
    d'' e'' f''
}


Maybe David Nalesnik's frame-engraver could be forced to do so as well.
But this would require some work for sure, if possible at all ... and
I'm not really familiar with his coding.

Cheers,
  Harm



reply via email to

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