This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tex
101 lines (77 loc) · 2.52 KB
/
main.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
\documentclass{book}
\usepackage{Wiley-AuthoringTemplate}
\usepackage[authoryear]{natbib}
\usepackage{fancyvrb}
\usepackage[utf8]{inputenc}
\usepackage{lmodern,textcomp}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{neuralnetwork}
\usepackage{dirtree}
\usepackage{url}
\usepackage{codex}
% to drop the period ending a \paragraph, use \paragraph[title]{title\eatpunct}
% source: https://tex.stackexchange.com/a/272942
\newcommand\eatpunct[1]{}
%\usepackage{draftwatermark}
%\usepackage[export]{adjustbox}% http://ctan.org/pkg/adjustbox
%\SetWatermarkText{Draft version, please do not distribute (\today)}
%\SetWatermarkColor[gray]{0.5}
%\SetWatermarkFontSize{1cm}
%\SetWatermarkAngle{90}
%\SetWatermarkHorCenter{20cm}
\usepackage[T1]{fontenc}
\usepackage{ccsbook}
%to make line breaks possible at more parts within \texttt
\renewcommand{\texttt}[1]{%
\begingroup
\ttfamily
\begingroup\lccode`~=`/\lowercase{\endgroup\def~}{/\discretionary{}{}{}}%
\begingroup\lccode`~=`[\lowercase{\endgroup\def~}{[\discretionary{}{}{}}%
\begingroup\lccode`~=`.\lowercase{\endgroup\def~}{.\discretionary{}{}{}}%
\begingroup\lccode`~=`(\lowercase{\endgroup\def~}{(\discretionary{}{}{}}%
\catcode`/=\active\catcode`[=\active\catcode`.=\active\catcode`(=\active
\scantokens{#1\noexpand}%
\endgroup
}
\usepackage[colorinlistoftodos]{todonotes}
% To include a specific chapter, create an includeonly file containing: \newcommand{\whichchapter}{01}
% on command line, this should work:
% $ CHAPTER=07; echo "\newcommand{\whichchapter}{${CHAPTER}}" > includeonly.tex && pdflatex main.tex
\IfFileExists{includeonly.tex}{
\input{includeonly}
\includeonly{chapter\whichchapter/chapter\whichchapter}
}{}
\fvset{fontsize=\footnotesize}
\begin{document}
\DefineShortVerb{\|}
\frontmatter
\include{fm}
\mainmatter
% \part{Getting Started}
\setcounter{chapter}{0}
\include{chapter01/chapter01}
\include{chapter02/chapter02}
\include{chapter03/chapter03}
\include{chapter04/chapter04}
% \part{From Data to Science}
\include{chapter05/chapter05}
\include{chapter06/chapter06}
\include{chapter07/chapter07}
\include{chapter08/chapter08}
\include{chapter09/chapter09}
\include{chapter10/chapter10}
\include{chapter11/chapter11}
\include{chapter12/chapter12}
\include{chapter13/chapter13}
\include{chapter14/chapter14}
\include{chapter15/chapter15}
\include{chapter16/chapter16}
\backmatter
% bibliography, glossary and index would go here.
\bibliography{references}%
\latexprintindex
\end{document}