Post by Uwe Siart% ---------------------------------------
\documentclass{article}
\mathcode`\:=\string"8000
\begingroup \catcode`\:=\active
\gdef:{\mathrel{\mathop\ordinarycolon}}
\endgroup
\begin{document}
\begin{equation}
a := b
\end{equation}
\end{document}
% ---------------------------------------
Was passiert da bei dir?
hmm... also bei mir passiert da nicht viel :(
sieht genauso aus wie wenn ich das ohne das makro mache
also:
% ---------------------------------------
\documentclass{article}
\mathchardef\ordinarycolon\mathcode`\:
\mathcode`\:=\string"8000
\begingroup \catcode`\:=\active
\gdef:{\mathrel{\mathop\ordinarycolon}}
\endgroup
\begin{document}
a := b
\end{document}
% ---------------------------------------
liefert bei mir dieselbe ausgabe wie
% ---------------------------------------
\documentclass{article}
\mathchardef\ordinarycolon\mathcode`\:
\mathcode`\:=\string"8000
\begingroup \catcode`\:=\active
\gdef:{\mathrel{\mathop\ordinarycolon}}
\endgroup
\begin{document}
a $:=$ b
\end{document}
% ---------------------------------------
und wie
% ---------------------------------------
\documentclass{article}
\begin{document}
a $:=$ b
\end{document}
% ---------------------------------------
dabei sollte die linien des "=" doch jeweils auf gleicher höhe sein wie
die punkte des ":" ?!!!