Skip to content

Commit 04c78ea

Browse files
committed
toc
1 parent 836b667 commit 04c78ea

File tree

3 files changed

+82
-5
lines changed

3 files changed

+82
-5
lines changed

Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ TGTS=$(SRCS:.ipynb=.pdf)
2929

3030
HDRS=$(TEXS:.tex=.hdrs)
3131

32-
############################## shouldn't need to change below this line
33-
3432
LATEX = pdflatex
3533

36-
.SUFFIXES: .ipynb .tex .pdf
34+
.SUFFIXES: .ipynb .tex .pdf .hdrs
3735

3836
%.tex: %.ipynb
3937
/bin/rm -rf tmpFile
@@ -55,12 +53,13 @@ LATEX = pdflatex
5553
%.hdrs: %.tex
5654
python stripheaders.py < $< > $@
5755

58-
topleveltarget: $(TEXS)
59-
echo $(TEXS)
56+
topleveltarget: $(TGTS)
6057

6158
toc.pdf: $(HDRS)
6259
cat preamble.tex $(HDRS) postamble.tex > toc.tex
6360
$(LATEX) toc.tex
61+
$(LATEX) toc.tex
62+
rm toc.{out,log.aux}
6463

6564

6665

postamble.tex

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
\end{document}

preamble.tex

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
\documentclass[11pt]{article}
2+
% \documentstyle[11pt]{article}
3+
% \documentstyle[11pt,doublespace]{article}
4+
5+
% font sizes are:
6+
% \tiny \scriptsize \footnotesize \small \normalsize \large \Large
7+
% \LARGE \huge \Huge
8+
9+
\setlength{\textheight}{9.0in}
10+
\setlength{\topmargin}{0.0in}
11+
\setlength{\headheight}{0in}
12+
\setlength{\headsep}{0in}
13+
\setlength{\oddsidemargin}{0in}
14+
\setlength{\textwidth}{6.5in}
15+
16+
% allows figures to take up larger amount of page - so they dont have
17+
% be on a page by themselves
18+
\renewcommand{\floatpagefraction}{0.90}
19+
20+
\hyphenation{hy-phen-ation}
21+
22+
% adds the very useful \url{} macro
23+
\usepackage{url}
24+
25+
% New standard for Times font (with appropripate math symbols)
26+
\usepackage{mathptmx}
27+
28+
% enhances the typeset appearance of math formulae
29+
\usepackage{amsmath,amsthm}
30+
31+
% adds fonts msam and msbm (incl uppercase Blackboard Bold)
32+
\usepackage{amssymb}
33+
34+
% now de facto standard for including graphics: \includegraphics[]{}
35+
\usepackage{graphicx}
36+
% declare the path(s) where your graphic files are
37+
% \graphicspath{{../pdf/}{../jpeg/}}
38+
% and their extensions so you won't have to specify these with
39+
% every instance of \includegraphics
40+
% \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
41+
42+
% poor man's doublespacing (useful for less-than-exactly double spacing)
43+
% \renewcommand{\baselinestretch}{1.5}
44+
% standard math defns (is there a package for this?)
45+
\newtheorem{definition}{Definition}\newtheorem{theorem}{Theorem}[section]
46+
\newtheorem{lemma}[theorem]{Lemma}
47+
\newtheorem{proposition}[theorem]{Proposition}
48+
\newtheorem{corollary}[theorem]{Corollary}
49+
50+
\newcommand{\mat}[1]{\left[\begin{array}#1\end{array}\right]}
51+
\newcommand{\vx}{{\mathbf x}}
52+
\newcommand{\hx}{\hat{\mathbf x}}
53+
\newcommand{\vbt}{{\mathbf\beta}}
54+
\newcommand{\vy}{{\mathbf y}}
55+
\newcommand{\vz}{{\mathbf z}}
56+
\newcommand{\vb}{{\mathbf b}}
57+
\newcommand{\vu}{{\mathbf u}}
58+
\newcommand{\vv}{{\mathbf v}}
59+
\newcommand{\vw}{{\mathbf w}}
60+
\newcommand{\va}{{\mathbf a}}
61+
\newcommand{\ve}{{\mathbf e}}
62+
\newcommand{\vp}{{\mathbf p}}
63+
\newcommand{\R}{{\mathbb{R}}}
64+
\newcommand{\col}{{\operatorname{Col}}}
65+
\newcommand{\nul}{{\operatorname{Nul}}}
66+
\newcommand{\rank}{{\operatorname{rank}}}
67+
\newcommand{\setb}{{\mathcal{B}}}
68+
69+
\begin{document}
70+
\thispagestyle{empty}
71+
72+
\title{Computational Tools for Data Science}
73+
\author{~}
74+
\maketitle
75+
76+
\tableofcontents

0 commit comments

Comments
 (0)