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