X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=blobdiff_plain;f=mjo-algorithm.tex;h=55d4831de9571d7cf413badcd175b7e728dfb883;hp=25b396c5d24113c2e2515ad9b6f0f7f85a744953;hb=HEAD;hpb=4889580563dc344f0e30230c3dc5099e361cb520 diff --git a/mjo-algorithm.tex b/mjo-algorithm.tex index 25b396c..55d4831 100644 --- a/mjo-algorithm.tex +++ b/mjo-algorithm.tex @@ -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