\documentclass [twocolumn] {article}
\usepackage{verbatim}
\usepackage{epsfig} 
%
\topmargin=-0.75in
\textheight=9.0in \vsize\textheight
\textwidth=6.5in \hsize\textwidth
\parindent=0.0in
%
\renewcommand{\insert}[2]{
\newpage
\begin{flushleft}
\framebox{{\bf Source file:} {\tt #2}}
\end{flushleft}
\verbatiminput{#1}
}

\newcommand{\nnpinsert}[2]{
\begin{flushleft}
\framebox{{\bf Source file:} {\tt #2}}
\end{flushleft}
\verbatiminput{#1}
}

\newcommand{\figinsert}[1]{
\framebox{{\bf Figure file:} {\tt #1}}
 
\vspace*{0.1in}
\centerline{\epsfxsize=8cm\epsffile{#1}}
} 

\begin{document}
%
{\scriptsize

%-----------------------------------------------------------------------
% Lecture 1 
\nnpinsert{../ex1/tdgesv.f}{tdgesv.f}
\nnpinsert{../ex1/dgesv.f}{dgesv.f}
\newpage ~~ \newpage
\nnpinsert{../ex1/sgi-output}{sgi-output}
\nnpinsert{../ex1/linux-output}{linux-output} 
\nnpinsert{../ex1/sun-output}{sun-output}
%-----------------------------------------------------------------------
% Lecture 2 
\newpage
\nnpinsert{../ex2/bvp1d.f}{bvp1d.f}
\nnpinsert{../ex2/sgi-output}{sgi-output}
\newpage
\nnpinsert{../ex2/Format/Makefile}{Makefile}
\figinsert{../ex2/soln8.ps}
\newpage
\figinsert{../ex2/err567.ps}
\nnpinsert{../ex2/dgtsv.f}{dgtsv.f} 
%-----------------------------------------------------------------------
% Lecture 3 
%-----------------------------------------------------------------------
\newpage
\nnpinsert{../ex3/bvp1d4.f}{bvp1d4.f}
\nnpinsert{../ex3/sgi-output}{sgi-output}
\nnpinsert{../ex3/Format/Makefile}{Makefile}
\figinsert{../ex3/soln4.ps}
\newpage
\figinsert{../ex3/err456.ps}
}
\end{document}
