Hello

A portion of my document preamble is shown below. I add that to preamble to create a letters inside a circle with an ERT command such as \tcircledIII{$A$} that results in letter A inside a circle. This works fine everywhere in the document with the exception of the figure captions.

Does anybody know why this is not working? Is there another way accomplishing the same?

Thank you
Leo

Part of preamble:
------------------------------------------------------------------------
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{stfloats}

\def\tcircled#1{%
\leavevmode\hbox{\setbox0=\hbox{#1}\relax
\dimen0=\the\wd0\dimen1=\the\ht0
\ifdim\dimen0>\dimen1\dimen2=\dimen0\else\dimen2=\dimen1\fi
\divide\dimen0 by 2\divide\dimen1 by 2\advance\dimen2 by 5pt
\put([EMAIL PROTECTED], [EMAIL PROTECTED])[EMAIL PROTECTED]
\box0}%
}
\def\tcircledI#1{{%
\psset{unit=1pt}
\setbox0=\hbox{#1}\relax
\dimen0=\the\wd0\dimen1=\the\ht0
\divide\dimen0 by 2\divide\dimen1 by 2
\ifdim\dimen0>\dimen1\dimen2=\dimen0\else\dimen2=\dimen1\fi
\advance\dimen2 by +5pt
\rput(\dimen0, \dimen1){\pscircle{\dimen2}}
\box0%
}}
\def\tcircleII#1{%
\ensuremath{\mathbin{\settowidth{\dimen7}{\mbox{$\bigcirc$}}%
             \makebox[0pt][l]{$\bigcirc$}\makebox[\dimen7]{#1}}}}

[EMAIL PROTECTED]


Reply via email to