I am using the algorithm environment in the algorithm2e package. What I want is to able to indent various portions. I tried \indent but that is doing me no good. Here is the MWE:
\documentclass[12pt,letterpaper]{article}
\usepackage{algorithm2e}
\begin{algorithm}[H]
\SetAlgoLined
\KwData{Executor class}
\KwResult{Executes Main.java}
\indent \textbf{Begin} Executor class
\indent call Main
\indent \textbf{End} Executor class
\end{algorithm}
\end{document}

\textbf{Begin}? – Jeel Shah Apr 23 '13 at 00:58