\documentclass[letterpaper,12pt,oneside,pdftex]{article}

%% My Commands
\newcommand{\myname}{Ira W. Snyder}
\newcommand{\myemail}{iwsnyder@csupomona.edu}
\newcommand{\mytitle}{CS460 - Homework \#04}

\newcommand{\emaillink}[1]{\href{mailto:#1}{$<$#1$>$}}
\newcommand{\sourcecode}[1]{
    \begin{scriptsize}
        % Automatically line-numbered input
        \listinginput{1}{#1}
    \end{scriptsize}
}
\newcommand{\plaintext}[1]{
    \begin{scriptsize}
        % Verbatim input, preserving tabs to 8 spaces. To use
        % 4-space tabs, switch the 8 to a 4.
        \verbatimtabinput[4]{#1}
    \end{scriptsize}
}
\newcommand{\fullbox}[1]{\fbox{\begin{minipage}{\textwidth}#1\end{minipage}}}
\newcommand{\mysourcecode}[1]{\section*{Source Code: \texttt{#1}}\hrulefill\plaintext{#1}}

%% Packages to include

%% Font to use
%\usepackage{pslatex}
%\usepackage{cmbright}
%\usepackage{concrete}
%\usepackage{palatino}
%\usepackage{ae}
%\usepackage{pxfonts}
%\usepackage{txfonts}

% Fix spacing with 12pt docs
\usepackage{exscale}

% Extra spacing options
%\usepackage{setspace}
%\singlespacing
%\onehalfspacing
%\doublespacing

% Remove space at the beginning of paragraphs
\usepackage{parskip}

% Set Margins
\usepackage[left=3cm,top=2cm,right=3cm,nohead,nofoot]{geometry}

% Support for nicer tables
%\usepackage{booktabs}

% Support for source code listings
\usepackage{moreverb}

% Support for removing all page numbers
\usepackage{nopageno}

% Support for URLs (unneeded with hyperref)
%\usepackage{url}
\usepackage{lscape}

% Support PDF HyperText References
\usepackage[pdftex,bookmarks,breaklinks=true,%
            pdftitle={\mytitle},pdfauthor={\myname},%
            colorlinks]{hyperref}


%% Generate Title Page
\title{\mytitle}
\author{\myname\\\emaillink{\myemail}}
\date{\today}

\begin{document}

% Switch font families
\sffamily

% Title Page
\maketitle
\clearpage

\mysourcecode{RSA.java}

\mysourcecode{Makefile}

\clearpage
\section*{Problem 2 Output}
\hrulefill
\plaintext{p2_output.txt}

\end{document}

% vim: set ts=4 sts=4 sw=4 expandtab nocindent noautoindent textwidth=80:
