\newenvironment{nam}[args]{begdef}{enddef} \renewenvironment{nam}[args]{begdef}{enddef}
These commands define or redefine an environment.
\begin{name}; a parameter of the form #n in cmd is replaced by the text of the nth argument when this substitution takes place.