-
Notifications
You must be signed in to change notification settings - Fork 1
/
ERTH_DA1_book.tex
executable file
·140 lines (119 loc) · 4.19 KB
/
ERTH_DA1_book.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
%------------------------------------------
% Introduction to Statistics and Data Analysis - Part I
% Copyright 1992-2024.
% Paul Wessel
%
% If using TexLive you probably need to at least have these packages:
% texlive-latex-base texlive-binaries texlive-fonts-recommended texlive-latex-extra
%------------------------------------------
%
% This almost empty document includes all the actual
% files with material. It is the master
% file that sets up the general layout of the book
\ifdefined\mypdfbook
\documentclass[10pt,letter]{report}
\usepackage[margin=1in]{geometry}
\else
\documentclass[10pt,oneside,openany,a5paper]{book}
\usepackage[margin=0.25in]{geometry}
%\usepackage[utf8x]{inputenc}
\fi
\pdfminorversion=7
\usepackage{ifpdf}
\usepackage{amsmath}
\usepackage{epsfig}
\usepackage{makeidx}
\usepackage{float}
\usepackage{times}
\usepackage{mathptm}
\usepackage{afterpage}
\usepackage{xcolor}
%\usepackage{newtxmath}
\usepackage{enumitem}
\usepackage{epigraph}
\usepackage{url}
\usepackage{bm}
\usepackage{wrapfig}
\usepackage[labelfont=bf]{caption}
% Special commands & environments for this book
%
% PSfig will insert an eps file, add a label, and set a caption
%
\ifpdf
% Here for creating PDF output with pdfLaTeX
\usepackage{hyperref}
\DeclareGraphicsExtensions{.pdf}
\newcommand{\PSfig}[3][tbp]{\begin{figure}[#1] \centering \epsfig{figure=pdf/#2} \caption{#3} \label{fig:#2} \end{figure}}
\newcommand{\PSfigplace}[1]{\epsfig{figure=pdf/#1.pdf}}
\newcommand{\PSfignarrow}[3]{\begin{wrapfigure}{#1}{0.5\textwidth} \setlength\intextsep{0pt} \centering \epsfig{figure=pdf/#2} \caption{#3} \label{fig:#2} \vspace{-12pt} \end{wrapfigure}}
\pdfcompresslevel=9
\hypersetup{%
pdfauthor={Paul Wessel},
pdftitle={INTRODUCTION TO STATISTICS \& DATA ANALYSIS},
pdfsubject={Introduction to Statistics \& Data Analysis},
pdfkeywords={DATA ANALYSIS, statistics, hypothesis testing, modeling},
pdfcreator={pdfLaTeX},
bookmarksopen=true,
bookmarksnumbered=true,
hypertexnames=true,
breaklinks=true,
%pdfstartview={FitH},
%linkbordercolor={1 1 0},
%urlbordercolor={1 0 0},
}%
\else
% Here for creating PS or HTML output with LaTeX
\usepackage[margin=0.5in]{geometry}
\DeclareGraphicsExtensions{.svg}
\newcommand{\PSfig}[3][tbp]{\begin{figure}[#1] \centering \epsfig{figure=svg/#2.svg} \caption{#3} \label{fig:#2} \end{figure}}
\newcommand{\PSfigplace}[1]{\epsfig{figure=svg/#1.svg}}
%\DeclareGraphicsExtensions{.png}
%\newcommand{\PSfig}[3][tbp]{\begin{figure}[#1] \centering \epsfig{figure=png/#2.png} \caption{#3} \label{fig:#2} \end{figure}}
%\newcommand{\PSfigplace}[1]{\epsfig{figure=png/#1.png}}
\fi
%%------------ THESE COMMANDS TO BE USED FOR POSTSCRIPT --------
\newcommand{\DS}{$^{\circ}$}
\newcommand{\DSm}{^{\circ}}
\newcounter{example}[chapter]
\newcounter{problem}[chapter]
\renewcommand{\bf}{\textbf}
%\newcommand{\important}[1]{\emph{#1}\index{#1}}
\newenvironment{example}{\stepcounter{example}\\\noindent\rule{\textwidth}{.01in}\\\textbf{Example~\thechapter--\theexample}.}{\\\noindent\rule{\textwidth}{.01in}\linebreak}
\newenvironment{example2}{\stepcounter{example}\noindent\rule{\textwidth}{.01in}\\\textbf{Example~\thechapter--\theexample}.}{\\\noindent\rule{\textwidth}{.01in}\linebreak}
\newenvironment{problem}{\stepcounter{problem}\noindent\\\textbf{Problem~\thechapter.\theproblem}.}{}
\DeclareMathOperator\erf{erf}
\DeclareMathOperator\sinc{sinc}
%--------------------------------------------------------------------------
\makeindex
\usepackage[totoc]{idxlayout}
\begin{document}
\pagenumbering{roman}
%\maketitle
\include{DA1_Version}
\include{DA1_cover}
\clearpage
\pagestyle{plain}
\addcontentsline{toc}{chapter}{Contents}
\tableofcontents
%\clearpage
%\addcontentsline{toc}{chapter}{List of tables}
%\listoftables
%\clearpage
%\addcontentsline{toc}{chapter}{List of figures}
%\listoffigures
\include{DA1_Preface}
\pagenumbering{arabic}
\pagestyle{headings}
\include{DA1_Chap1}
\include{DA1_Chap2}
\include{DA1_Chap3}
\include{DA1_Chap4}
\include{DA1_Chap5}
\include{DA1_Chap6}
\include{DA1_Chap7}
\include{DA1_Chap8}
\include{DA1_Chap9}
\appendix
\include{DA1_Tables}
\printindex
\end{document}