I have the latex document:
\begin{document}
Document introduction.
\onecolumn
\section*{That's how the code looks like}
\begin{algorithm}
\input{z.tex}
\begin{algorithm}
\end{document}
And I wanted to make that z.tex (tex file is exported from program Mathematica) will looks like this:
I think that "listing" won't work and I have to use "algorithm" but I don't know how. The tex in file after appropriate formatting looks like this:
Thank you for your help.
z.tex
file contains, and how the output is related to the file.