-
Notifications
You must be signed in to change notification settings - Fork 0
/
structure.tex
63 lines (43 loc) · 1.97 KB
/
structure.tex
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
53
54
55
56
57
58
59
60
61
62
63
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[top=3cm,bottom=3cm,left=0.8in,right=0.8in,headsep=10pt]{geometry} % Page margins
\usepackage{graphicx} % Required for including pictures
\usepackage{verbatim}
\usepackage{enumitem} % Customize lists
\setlist{nolistsep} % Reduce spacing between bullet points and numbered lists
\usepackage{booktabs} % Required for nicer horizontal rules in tables
\usepackage{xcolor} % Required for specifying colors by name
\usepackage{listings}
\usepackage{color}
%FONTS
\usepackage{anyfontsize}
\usepackage{avant} % Use the Avantgarde font for headings
\usepackage{mathptmx} % Use the Adobe Times Roman as the default text font together with math symbols from the Symbol, Chancery and Computer Modern fonts
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage{calc} % For simpler calculation - used for spacing the index letter headings correctly
\usepackage{makeidx} % Required to make an index
\makeindex % Tells LaTeX to create the files required for indexing
\bibliographystyle{apj}
\usepackage{natbib}
%\usepackage{titletoc} % Required for manipulating the table of contents
\setlist{nolistsep} % Reduce spacing between bullet points and numbered lists
\def\motivation#1{\item[Motivation:] #1}
\def\activities#1{\item[Activities:] #1}
\def\deliverables#1{\item[Deliverables:] #1}
\newenvironment{task}%
{\renewcommand\descriptionlabel[1]{\hspace{\labelsep}\textit{##1}}
\begin{description}\setlength{\itemsep}{0.15\baselineskip}}
{\end{description}}
% Example usage:
%
% \begin{task}
% \motivation{Currently things are bad}.
% \activities{We will work to make them better}.
% \deliverables{Code to solve all problems}.
% \end{task}
% PJM: here's a tasklist environment to take care of Michael's enumeration:
%\def\tasktitle#1{\item{\bf #1}}
\def\tasktitle#1{\item{}}
\newenvironment{tasklist}[1]%
{\begin{enumerate}[label=#1-\arabic{*}.,ref=\thesubsection:#1-\arabic{*},font=\bf]}
{\end{enumerate}}