Hi,
I am using the listing package to display a shell script in
a presentation using the beamer package.
\lstset{language=csh,showstringspaces=false,basicstyle=\footnotesize}
\begin{lstlisting}
#!/bin/csh
if ( $#argv < 2 ) then
echo "usage: $0 name age"
exit 1
endif
\end{lstlisting ...
Search found 1 match
- Tue Jan 12, 2010 11:33 am
- Forum: General
- Topic: Hash symbol breaking formating in lstlisting environment
- Replies: 2
- Views: 7293