I am using Ubuntu 11.04 with TeXmaker and TeX Live. There is a \newenvironment definition in my LaTeX file:
\newenvironment{algo}[1]{%
\begin{algorithm}[#1]
\SetTitleSty{textsc}{normalsize}
\SetInd{0.25em}{0.25em}
\SetAlgoVlined
\SetNlSty{normal}{}{}
\DontPrintSemicolon
\SetKwComment{tcp}{}{}
\small
}{%
\vspace{-0.5ex}
\end{algorithm}
}
And the use is something like
\begin{algo}{t}
...
\end{algo}
which gives an error:
! Undefined control sequence.
\algo ... \SetInd {0.25em}{0.25em} \SetAlgoVlined
\SetNlSty {normal}{}{} \Do...
The file compiles well on Windows 7 + MikTeX.
Anybody else facing similar problems on Ubuntu?