Subversion Repositories programming

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
430 ira 1
\documentclass[letterpaper,12pt,oneside]{report}
2
 
3
%% Packages to include
4
\usepackage{url} % support for URLs
5
\usepackage[dvipdfm]{hyperref} % support for links in pdf
6
\usepackage{setspace} % support to set spacing
7
\usepackage[left=0.5in,top=0.5in,right=0.5in,nohead]{geometry} % set margins
8
%\usepackage{booktabs} % support for nice tables
9
%\usepackage{nomencl} % nomenclature support
10
%\usepackage{SIunits} % SI Units support
11
\usepackage{listings} % support for source code listings
12
 
13
%% Page Spacing
14
%\onehalfspacing
15
%\doubespacing
16
 
17
%% Double Spacing (use above methods if possible)
18
%\parskip 1ex
19
%\renewcommand{\baselinestretch}{1.33}
20
 
21
 
22
%% Font to use
23
\usepackage{pslatex}
24
%\usepackage{cmbright}
25
%\usepackage{concrete}
26
%\usepackage{palatino}
27
%\usepackage{ae}
28
%\usepackage{pxfonts}
29
%\usepackage{txfonts}
30
 
31
\newcommand{\sourcecode}[1]{
32
    \subsection*{#1}
33
    \lstinputlisting[language=lisp]{#1}
34
    %\newpage
35
}
36
 
37
\begin{document}
38
 
39
%% Generate Title Page
40
\title{CS408 Homework \#4\linebreak
41
Programming in LISP}
42
\author{Ira W. Snyder}
43
\date{Due: 2006-11-22}
44
\maketitle
45
 
46
%\lstset{basicstyle=\footnotesize,columns=fullflexible,frame=lines}
47
\lstset{basicstyle=\scriptsize,frame=lines,showstringspaces=false}
48
 
49
%% Include source code
50
\sourcecode{hw04.lisp}
51
 
52
 
53
%% Choose Bibliography style
54
%\bibliographystyle{acm}
55
%\bibliographystyle{plain}
56
%% Generate Bibliography
57
%\bibliography{template}
58
 
59
\end{document}
60
 
61
% vim: set ts=4 sts=4 sw=4 expandtab nocindent noautoindent textwidth=80: