X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;ds=sidebyside;f=mjo-algorithm.tex;fp=mjo-algorithm.tex;h=77dcdb6e76961a938f465d70183522722ed16b96;hb=42aee3fbd2813eee5233b97d7c92c25bdf83ba0b;hp=0000000000000000000000000000000000000000;hpb=12d889222927639e9320ef4d572ca87b8a87e41e;p=mjotex.git diff --git a/mjo-algorithm.tex b/mjo-algorithm.tex new file mode 100644 index 0000000..77dcdb6 --- /dev/null +++ b/mjo-algorithm.tex @@ -0,0 +1,14 @@ +% +% Good looking algorithm environments. +% + +% algorithmicx, for the, uh, algorithms. +\usepackage{algpseudocode} + +% Rename ``require'' and ``ensure'' to ``input'' and ``output'' +% respectively. +\renewcommand{\algorithmicrequire}{\textbf{Input:}} +\renewcommand{\algorithmicensure}{\textbf{Output:}} + +% This just gives us the floating ``algorithm'' environment. +\usepackage{algorithm}