On 2024-02-14 1:59 am, Orm Finnendahl wrote:
Hi,

 I'd like to make a sign for circular bowing like in the attached
png. The example was done using an epsfile, but unfortunately that
doesn't export to svg, which I need. So it should be done using
lilypond's builtin markup commands (or scheme code). Can someone point
me to examples to do circular arcs with attached arrows (can also be
scheme code)?

I couldn't find anything similar in the docs/internet.

Here's a pretty simple attempt:

%%%%
\version "2.22.0"

circular-bow =
-\tweak parent-alignment-X #CENTER
-\markup \overlay {
  \path #0.15
  #'((moveto 1 0)
     (curveto 1 -0.55 0.55 -1 0 -1)
     (curveto -0.55 -1 -1 -0.55 -1 0)
     (curveto -1 0.55 -0.55 1 0 1)
     (curveto 0.33 1 0.55 0.85 0.707 0.707)
  )

  \translate #'(0.707 . 0.707)
  \rotate #-45
  \fontsize #-5
  \general-align #X #0.2
  \arrow-head #X #RIGHT ##t
}

{ c''1^\circular-bow }
%%%%


-- Aaron Hill

Reply via email to