The following example uses the normal dot to generate the symbol:
\mathpalette adds support for the different math styles.
- It is assumed, that the dot is on the base line with a correct character
bounding box including symmetrical side bearings. The dot itself has the same width and height.
- The two dots of
\udotdot lie on opposite corners of a square, which
is centered around the math axis.
- The centers of the dots lie on the upper and lower borders of the equals sign.
Implementation with example:
\documentclass{article}
%\usepackage{MnSymbol}
\makeatletter
\providecommand*{\udotdot}{%
\mathbin{\mathpalette\@udotdot{}}%
}
\providecommand*{\@udotdot}[2]{%
% #1: math style
% #2: unused
% Box 0: dot
\sbox0{$#1.\m@th$}%
% Remove side bearings
\setbox2=\hbox to \ht0{\hss\copy0\hss}
% Side bearing
\dimen2=.5\dimexpr\wd0-\wd2\relax
% Box 2: equal sign
\sbox4{$#1=\m@th$}%
% Box 4: math axis
\sbox6{$#1\vcenter{}$}%
\dimen@=\dimexpr(\ht4-\ht6)*2 + \ht0\relax
\kern\dimen2 % side bearing
\vcenter to \dimen@{%
\hbox to \dimen@{\hfill\copy2}%
\nointerlineskip
\vfill
\hbox to \dimen@{\copy2\hfill}%
}%
\kern\dimen2 % side bearing
}
\makeatother
\begin{document}
\[ a \udotdot b \]
\[={\udotdot}\scriptstyle{\udotdot}\scriptscriptstyle{\udotdot}=\]
\end{document}
