1 \documentclass[letterpaper,12pt,oneside,pdftex]{article}
4 \newcommand{\myname}{Ira W. Snyder}
5 \newcommand{\myemail}{iwsnyder@csupomona.edu}
6 \newcommand{\mytitle}{CS460 - Homework \#04}
8 \newcommand{\emaillink}[1]{\href{mailto:#1}{$<$#1$>$}}
9 \newcommand{\sourcecode}[1]{
11 % Automatically line-numbered input
15 \newcommand{\plaintext}[1]{
17 % Verbatim input, preserving tabs to 8 spaces. To use
18 % 4-space tabs, switch the 8 to a 4.
19 \verbatimtabinput[4]{#1}
22 \newcommand{\fullbox}[1]{\fbox{\begin{minipage}{\textwidth}#1\end{minipage}}}
23 \newcommand{\mysourcecode}[1]{\section*{Source Code: \texttt{#1}}\hrulefill\plaintext{#1}}
25 %% Packages to include
29 %\usepackage{cmbright}
30 %\usepackage{concrete}
31 %\usepackage{palatino}
36 % Fix spacing with 12pt docs
39 % Extra spacing options
40 %\usepackage{setspace}
45 % Remove space at the beginning of paragraphs
49 \usepackage[left=3cm,top=2cm,right=3cm,nohead,nofoot]{geometry}
51 % Support for nicer tables
52 %\usepackage{booktabs}
54 % Support for source code listings
57 % Support for removing all page numbers
60 % Support for URLs (unneeded with hyperref)
64 % Support PDF HyperText References
65 \usepackage[pdftex,bookmarks,breaklinks=true,%
66 pdftitle={\mytitle},pdfauthor={\myname},%
70 %% Generate Title Page
72 \author{\myname\\\emaillink{\myemail}}
77 % Switch font families
84 \mysourcecode{RSA.java}
86 \mysourcecode{Makefile}
89 \section*{Problem 2 Output}
91 \plaintext{p2_output.txt}
95 % vim: set ts=4 sts=4 sw=4 expandtab nocindent noautoindent textwidth=80: