This repository has been archived by the owner on Jun 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
introduction.tex
115 lines (88 loc) · 3.4 KB
/
introduction.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
% Some commands used in this file
\newcommand{\package}{\emph}
\chapter{Introduction}
This is version \verb-v1.4- of the template.
We assume that you found this template on our institute's website, so
we do not repeat everything stated there. Consult the website again
for pointers to further reading about \LaTeX{}. This chapter only
gives a brief overview of the files you are looking at.
\section{Features}
\label{sec:features}
The rest of this document shows off a few features of the template
files. Look at the source code to see which macros we used!
The template is divided into \TeX{} files as follows:
\begin{enumerate}
\item \texttt{thesis.tex} is the main file.
\item \texttt{extrapackages.tex} holds extra package includes.
\item \texttt{layoutsetup.tex} defines the style used in this document.
\item \texttt{theoremsetup.tex} declares the theorem-like environments.
\item \texttt{macrosetup.tex} defines extra macros that you may find
useful.
\item \texttt{introduction.tex} contains this text.
\item \texttt{sections.tex} is a quick demo of each sectioning level
available.
\item \texttt{refs.bib} is an example bibliography file. You can use
Bib\TeX{} to quote references. For example, read
\cite{bringhurst1996ets} if you can get a hold of it.
\end{enumerate}
\subsection{Extra package includes}
The file \texttt{extrapackages.tex} lists some packages that usually
come in handy. Simply have a look at the source code. We have
added the following comments based on our experiences:
\begin{description}
\item[REC] This package is recommended.
\item[OPT] This package is optional. It usually solves a specific
problem in a clever way.
\item[ADV] This package is for the advanced user, but solves a problem
frequent enough that we mention it. Consult the package's
documentation.
\end{description}
As a small example, here is a reference to the Section \emph{Features}
typeset with the recommended \package{varioref} package:
\begin{quote}
See Section~\vref{sec:features}.
\end{quote}
\subsection{Layout setup}
This defines the overall look of the document -- for example, it
changes the chapter and section heading appearance. We consider this
a `do not touch' area. Take a look at the excellent \emph{Memoir}
documentation before changing it.
In fact, take a look at the excellent \emph{Memoir} documentation,
full stop.
\subsection{Theorem setup}
This file defines a bunch of theorem-like environments.
\begin{theorem}
An example theorem.
\end{theorem}
\begin{proof}
Proof text goes here.
\end{proof}
Note that the q.e.d.\ symbol moves to the correct place automatically
if you end the proof with an \texttt{enumerate} or
\texttt{displaymath}. You do not need to use \verb-\qedhere- as with
\package{amsthm}.
\begin{theorem}[Some Famous Guy]
Another example theorem.
\end{theorem}
\begin{proof}
This proof
\begin{enumerate}
\item ends in an enumerate.
\end{enumerate}
\end{proof}
\begin{proposition}
Note that all theorem-like environments are by default numbered on
the same counter.
\end{proposition}
\begin{proof}
This proof ends in a display like so:
\begin{displaymath}
f(x) = x^2.
\end{displaymath}
\end{proof}
\subsection{Macro setup}
For now the macro setup only shows how to define some basic macros,
and how to use a neat feature of the \package{mathtools} package:
\begin{displaymath}
\abs{a}, \quad \abs*{\frac{a}{b}}, \quad \abs[\big]{\frac{a}{b}}.
\end{displaymath}