[Top][All Lists]

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

Re: Defining radius of circle that encircles text

From: Thomas Morley
Subject: Re: Defining radius of circle that encircles text
Date: Wed, 2 Jan 2019 22:56:30 +0100

Am Mi., 2. Jan. 2019 um 22:41 Uhr schrieb Sam Bivens <address@hidden>:
> Happy New Year to everyone reading!
> Please see the attached MWE; how can I specify the radius of the circled
> text? Using `\circle 2` results in differently sized circles based on
> the circled text, but when I specify the radius with `\draw-circle`, I
> somehow can't manage to center the text inside the circle. This has to
> be a very simple fix that's right under my nose, but somehow nothing
> I've tried works.
> Or, perhaps there's another option that someone might share; that would
> work, as well.
> Thanks!
> Sam


if you use \draw-circle, then the resulting cirlce will have extents
in X-axis: [-radius +radius], in Y-axis [-radius +radius]
Ensure the content which you want to put in the circle is centered as
well, i.e. use \vcenter \halign #CENTER

\markup { \combine \draw-circle #1.5 #.1 ##f \vcenter \halign #CENTER "2" }


reply via email to

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