At 11:34 AM 9/4/2001 +0200, Frans Goddijn wrote:
>Of the questions that I sent in the other day, one was answered on the
>TEX-NL list, namely the one about how to encircle a character. I post the
>answer here in case anyone alse wants to use it sometime:
>
>% ----------------------------------------------
>% macro to encircle a character
>% use \rond{a} etc.
>% \newcommand{\rond}[1] % this macro for LaTeX
>\def\rond #1 % this one for plain TeX
>{\begingroup{\ooalign{\hfil\raise.07ex\hbox{#1}%
> \hfil\crcr\mathhexbox20D}}
>\endgroup}
>% ----------------------------------------------
actually, \omcirkeld has been part of context for years already -)
For MP lovers, i add an alternative:
\startreusableMPgraphic{omcirkeld}
draw fullcircle xyscaled (OverlayWidth,OverlayHeight)
withpen pencircle scaled OverlayLineWidth
withcolor OverlayLineColor ;
\stopreusableMPgraphic
\defineoverlay[omcirkeld][\reuseMPgraphic{omcirkeld}]
\defineframedtext
[omcirkeld]
[frame=off,
background=omcirkeld,
width=fit,
offset=1ex]
\setupcolors[state=start]
\omcirkeld [framecolor=green] {Frans}
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------