summaryrefslogtreecommitdiff
path: root/Homework/cs5300/homework-one/hw-ch1-src/common.tex
blob: 81550abec9276e8c1066c3131a7ff901f69cee9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
\usepackage{version}

\usepackage{makeidx}         % allows index generation
\usepackage{graphicx}        % standard LaTeX graphics tool
                             % when including figure files
\usepackage{subfigure}
\usepackage{multicol}        % used for the two-column index
\usepackage[bottom]{footmisc}% places footnotes at page bottom
\usepackage{amstext,amssymb,amsmath}  % I included these - AKG
\usepackage{url}
\usepackage{color}
\usepackage{multirow}
\usepackage{booktabs}

% example use of listings (font is fixed-width):
% \begin{lstlisting}[mathescape,basicstyle=\fontfamily{lmvtt}\selectfont]
\usepackage{listings}
\lstset{basicstyle=\ttfamily}

%-------------------------------------------------------------------------------
% Decrease margins
%-------------------------------------------------------------------------------
\oddsidemargin0cm
\topmargin-2cm
\textwidth16.5cm
\textheight23.5cm  

%-------------------------------------------------------------------------------
% this makes list spacing much better.
%-------------------------------------------------------------------------------
\newenvironment{tightenumerate}{
\begin{enumerate}
  \setlength{\itemsep}{1pt}
  \setlength{\parskip}{0pt}
  \setlength{\parsep}{0pt}
}{\end{enumerate}
}

%-------------------------------------------------------------------------------
% this makes list spacing much better.
%-------------------------------------------------------------------------------
\newenvironment{tightitemize}{
\begin{itemize}
  \setlength{\itemsep}{1pt}
  \setlength{\parskip}{0pt}
  \setlength{\parsep}{0pt}
}{\end{itemize}
}

\newcommand{\myspace}{\vspace{4 mm}}
\newcommand{\soln}{\paragraph{Solution:}}