On 11/5/2023 7:23 AM, anton.chigurh@mail.com wrote:
I want to use \bigcirc to encircle text. Is there a way to do it. if you're wiling to compensate for its depth:
\defineoverlay [BigCirc] [{\scale [width=\overlaywidth] {\setbox0\hpack{\bigcirc}\raise\dp0\box0}}] \framed [background=BigCirc, % frame=off, width=3cm, height=3cm] {test} but bigcirc isn't meant for that \startusableMPgraphic{MetaCirc} draw fullcircle xyscaled (OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth) withpen pencircle scaled OverlayLineWidth withcolor OverlayColor ; \stopusableMPgraphic \defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}] \framed [background=MetaCirc, backgroundcolor=red, frame=off, rulethickness=1pt] {test} \framed [background=MetaCirc, backgroundcolor=blue, rulethickness=.5pt] {test} is more flexibel in the end Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------