So I'm trying to create an indent in an algorithm, but I'm not familiar with the \begin{algorithm} environment, so I would just like to do it in a math environment. I'm trying to create an indent, but the code below doesn't seem to work. Please help?
\documentclass{article}
\begin{document}
$S=\emptyset;\ i=k=1;\ N[j]=Z[j]=S^*[j]=COMP[j]=0;\ j=1,2,...,11\\
j=1.\\
\hspace{4ex} VISIT(1)....$
\end{document}
\hspace*
(starred version). Anyway the result is awful... – karlkoeller Feb 24 '14 at 11:29