]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algorithm.tex
mjo-algebra.tex: fix glossary sorting of \variety
[mjotex.git] / mjo-algorithm.tex
index 25b396c5d24113c2e2515ad9b6f0f7f85a744953..55d4831de9571d7cf413badcd175b7e728dfb883 100644 (file)
@@ -1,6 +1,9 @@
 %
 % Good looking algorithm environments.
 %
+\ifx\havemjoalgorithm\undefined
+\def\havemjoalgorithm{1}
+
 
 % algorithmicx, for the, uh, algorithms.
 \usepackage{algpseudocode}
@@ -13,4 +16,8 @@
 % This just gives us the floating ``algorithm'' environment.
 \usepackage{algorithm}
 
+% Use "//" for comments instead of the default.
 \algrenewcommand{\algorithmiccomment}[1]{/\!/ {#1}}
+
+
+\fi