#include:algcompatible
#include:algorithmicx
#include:ifthen

\For{condition}#/algorithmic
\EndFor#/algorithmic
\ForAll{condition}#/algorithmic

\While{condition}#/algorithmic
\EndWhile#/algorithmic

\Repeat#/algorithmic
\Until{condition}#/algorithmic

\If{condition}#/algorithmic
\ElsIf{condition}#/algorithmic
\Else#/algorithmic
\EndIf#/algorithmic

\Procedure{name}{params}#/algorithmic
\EndProcedure#/algorithmic

\Function{name}{params}#/algorithmic
\EndFunction#/algorithmic

\Loop#/algorithmic
\EndLoop#/algorithmic

\Require#/algorithmic
\Ensure#/algorithmic
\Call{name}{params}#/algorithmic
\Return#/algorithmic