How do I create my own custom symbols?
I want to make a symbol similar to that of $\otimes,\ominus$, etc. It should be an equals sign enclosed by a circle, and also a slashed equals sign enclosed by a circle. Preferrably, the code should read $\oeq$ and $\oneq$, or something similar.
Thank you for your answers, they were very beneficial.
I am, so far, satisfied with the following definition for $\oeq$:
\newcommand\opn{\mathrel{\ooalign{$-$\cr
\hidewidth\raise.45ex\hbox{$-$}\cr}}}
\newcommand\oeqq{\mathrel{\ooalign{$\opn$\cr
\hidewidth\raise.21ex\hbox{$\ocircle\mkern.0mu$}\cr}}}
\newcommand{\oeq}{\mathrel{\lower.22ex\hbox{$\oeqq$}}}
Could anyone use this definition to obtain similarly $\oneq$, with the slash fully inside the circle?


\olessthanin thestmaryrdpackage, there's nothing predefined for your\oeqand\oneqin the usually recommended Comprehensive List of LaTeX symbols. – egreg Jan 27 '13 at 17:07