How is it possible to indent lines in an algorithm (algorithmic) in latex?
I would like to be able to write the following:
\begin{algorithm}[H]
\caption{My Awesome Program} \label{awesome-algorithm}
\begin{algorithmic}[1]
\FOR { $i=0$ to $logn$ }
\STATE Step A:
% would like the indent the next lines...
\STATE do something
\STATE do another thing
\STATE Step B
\ENDFOR
\end{algorithmic}
\end{algorithm}
How is it possible to indent those lines? I've been trying to find the answer by googling without success. I hope you guys can help me. Thanks.
I'm currently using the following for indentation:
\STATE \ \ \ \ do something
which seems plain wrong. But works.