%
% Good looking algorithm environments.
%
+\ifx\havemjoalgorithm\undefined
+\def\havemjoalgorithm{1}
+
% algorithmicx, for the, uh, algorithms.
\usepackage{algpseudocode}
% This just gives us the floating ``algorithm'' environment.
\usepackage{algorithm}
+% Use "//" for comments instead of the default.
\algrenewcommand{\algorithmiccomment}[1]{/\!/ {#1}}
+
+
+\fi