How can I produce whitespace before each line of an environment. If I have the following command in the preamble
\newenvironment{myenv}
{\vspace{3mm}\hspace{0.5cm}\noindent\ignorespaces\small\texttt}
{\par\noindent\ignorespacesafterend\vspace{0.5mm}}
and in the text:
\begin{myenv}
hello \\
world
\end{myenv}
this produces whitespaces only for the first line.

