]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algorithm.tex
Wrap all mjotex files in conditionals to prevent double-loading.
[mjotex.git] / mjo-algorithm.tex
index 77dcdb6e76961a938f465d70183522722ed16b96..cef0e89f67988659217f0302308580dea6b0b08d 100644 (file)
@@ -1,6 +1,9 @@
 %
 % Good looking algorithm environments.
 %
+\ifx\havemjoalgorithm\undefined
+\def\havemjoalgorithm{1}
+
 
 % algorithmicx, for the, uh, algorithms.
 \usepackage{algpseudocode}
@@ -12,3 +15,8 @@
 
 % This just gives us the floating ``algorithm'' environment.
 \usepackage{algorithm}
+
+\algrenewcommand{\algorithmiccomment}[1]{/\!/ {#1}}
+
+
+\fi