Possible Duplicate:
Syntax Coloring in LaTeX
Unix Command Highlighting latex
I am after some advice on how to display Linux terminal commands into LaTeX, so that they are indented and look different from normal text.
I have tried to insert the following into LaTeX
$\emph {wget http://etc...................}
this outputs the wget onto a single line and then the part starting http onto another line. I want it all to appear on one line. Can someone body please give me some advice.
\ttfamily
. Finally, you've got a stand alone$
which should either be\$
or not there at all. – A.Ellett Nov 25 '12 at 16:00\verb
and the environementverbatim
. For more sophisticated formatting see also tex.stackexchange.com/q/867/15925 – Andrew Swann Nov 25 '12 at 16:39