1 |
5 |
guanucolui |
\chapter{Introduction}
|
2 |
|
|
\label{chap:intro}
|
3 |
|
|
|
4 |
|
|
\section{Getting started}
|
5 |
|
|
|
6 |
|
|
This is the introductory chapter. This will give you some
|
7 |
|
|
ideas on how to use \LaTeX~\cite{lam1994} to typeset your document.
|
8 |
|
|
Here is a sample quote using the \verb+\munquote+ environment:
|
9 |
|
|
|
10 |
|
|
\begin{munquote}[~\cite{lam1994}]%
|
11 |
|
|
\LaTeX{} is a system for typesetting documents. Its first widely
|
12 |
|
|
available version, mysteriously numbered 2.09, appeared in 1985. \LaTeX{}
|
13 |
|
|
is now extremely popular in the scientific and academic communities, and
|
14 |
|
|
it is used extensively in industry. It has become a \emph{lingua franca}
|
15 |
|
|
of the scientific world; scientists send their papers electronically to
|
16 |
|
|
colleagues around the world in the form of \LaTeX{} input.%
|
17 |
|
|
\end{munquote}
|
18 |
|
|
|
19 |
|
|
The citation at the end is optional --- if you don't need it,
|
20 |
|
|
then use \verb+\munquote+ without any arguments:
|
21 |
|
|
|
22 |
|
|
\begin{munquote}%
|
23 |
|
|
Here is a quote that does not have an associated citation
|
24 |
|
|
after it. You can specify the citation before or after the
|
25 |
|
|
quote manually.%
|
26 |
|
|
\end{munquote}
|
27 |
|
|
|
28 |
|
|
By default, all text is double spaced, however, quotes and footnotes
|
29 |
|
|
must be singled spaced.\munfootnote{This is a single spaced footnote.
|
30 |
|
|
SGS requires that footnotes be singled spaced and this can be done with
|
31 |
|
|
the \texttt{$\backslash$munfootnote} command.} The left margin is slightly
|
32 |
|
|
wider than the right margin. This is to compensate for binding.
|
33 |
|
|
|
34 |
|
|
An example mathematical formulae is show in
|
35 |
|
|
Equation~\ref{eqn:sum}.
|
36 |
|
|
|
37 |
|
|
\begin{muneqn}{sum}
|
38 |
|
|
\sum_{i = 0}^{n} i^2
|
39 |
|
|
\end{muneqn}
|
40 |
|
|
|
41 |
|
|
A slightly more complicated equation is given in Equation~\ref{eqn:schrodinger}:
|
42 |
|
|
\munfootnote{Equation taken from the \textsl{Schr\"{o}dinger equation}
|
43 |
|
|
entry on \textsl{Wikipedia}}
|
44 |
|
|
|
45 |
|
|
\begin{muneqn}{schrodinger}
|
46 |
|
|
i\hbar \frac{\partial}{\partial t}\Psi(x,\,t)=
|
47 |
|
|
-\frac{\hbar^2}{2m}\nabla^2\Psi(x,\,t) + V(x)\Psi(x,\,t)
|
48 |
|
|
\end{muneqn}
|
49 |
|
|
|
50 |
|
|
\section{Cross References}
|
51 |
|
|
\label{sec:xrefs}
|
52 |
|
|
|
53 |
|
|
In addition to using \verb+\ref+ to refer to equations, you can also use
|
54 |
|
|
it (in conjunction with the \verb+\label+ command) to refer to sections
|
55 |
|
|
and chapters without hard coding the numbers themselves. For example,
|
56 |
|
|
this is Section~\ref{sec:xrefs} of Chapter~\ref{chap:intro}. You can
|
57 |
|
|
also refer to Appendix~\ref{apdx:somelabel}, Subsection~\ref{sec:nested}
|
58 |
|
|
below or any other place that has a \verb+\label+. You can also use
|
59 |
|
|
labels to refer to a page. For example, Chapter~\ref{chap:figtab}
|
60 |
|
|
starts on page~\pageref{chap:figtab}.
|
61 |
|
|
|
62 |
|
|
\section{Some Suggestions}
|
63 |
|
|
|
64 |
|
|
Here are a few recommendations:
|
65 |
|
|
|
66 |
|
|
\begin{itemize}
|
67 |
|
|
\item Before using this template, make sure you check with
|
68 |
|
|
your supervisor.
|
69 |
|
|
\item MUN's library provides electronic access to some \LaTeX{}
|
70 |
|
|
related textbooks which can be read online. Use
|
71 |
|
|
the search term \texttt{latex (computer file)} on the
|
72 |
|
|
Library's web page.
|
73 |
|
|
\item If you run into a problem, Google may be a helpful resource.
|
74 |
|
|
\item Concentrate on content, let \LaTeX{} handle the typesetting.
|
75 |
|
|
\item Don't worry about warnings related to:
|
76 |
|
|
\begin{itemize}
|
77 |
|
|
\item overfull \texttt{hboxes}/\texttt{boxes}
|
78 |
|
|
\item underfull \texttt{hboxes}/\texttt{vboxes}
|
79 |
|
|
\end{itemize}
|
80 |
|
|
These can be corrected with modest rewording of your text prior
|
81 |
|
|
to submission of your final copy.
|
82 |
|
|
\end{itemize}
|
83 |
|
|
|
84 |
|
|
\section{The \texttt{Makefile}}
|
85 |
|
|
|
86 |
|
|
You can use \texttt{make} to ``build'' your thesis on the Linux command
|
87 |
|
|
line\munfootnote{Linux is available on all machines running LabNet in
|
88 |
|
|
\textsl{The Commons} and in other computer labs on campus.} This will
|
89 |
|
|
automatically run the \texttt{bibtex} program to create your bibliography
|
90 |
|
|
and will also re-run \texttt{latex} as necessary to ensure that all
|
91 |
|
|
references are resolved. A device independent file (\texttt{thesis.dvi})
|
92 |
|
|
will be created, by default. If you are using this template in another
|
93 |
|
|
environment other than the Linux command line, then the \texttt{Makefile}
|
94 |
|
|
will probably not be useful to you.
|
95 |
|
|
|
96 |
|
|
\begin{itemize}
|
97 |
|
|
\item To make a PostScript copy of your thesis, type the following
|
98 |
|
|
at the command line:
|
99 |
|
|
|
100 |
|
|
\texttt{make thesis.ps}
|
101 |
|
|
|
102 |
|
|
\item To generate a PDF copy of your thesis, run:
|
103 |
|
|
|
104 |
|
|
\texttt{make thesis.pdf}
|
105 |
|
|
|
106 |
|
|
\item To generate a PDF/A-1b copy of your thesis (which should
|
107 |
|
|
satisfy the SGS's ethesis submission requirements):
|
108 |
|
|
|
109 |
|
|
\texttt{make ethesis.pdf}
|
110 |
|
|
|
111 |
|
|
\item To remove all the files generated by \texttt{bibtex} and
|
112 |
|
|
\texttt{latex}, use the command:
|
113 |
|
|
|
114 |
|
|
\texttt{make clean}
|
115 |
|
|
|
116 |
|
|
\item To remove the intermediate files, but leave the PostScript
|
117 |
|
|
and DVI/PDF files intact, use the command:
|
118 |
|
|
|
119 |
|
|
\texttt{make neat}
|
120 |
|
|
\end{itemize}
|
121 |
|
|
|
122 |
|
|
As you add or remove figures, chapters, or appendices to your thesis,
|
123 |
|
|
make sure you keep the \texttt{Makefile} upto date, too (see the
|
124 |
|
|
\texttt{FIGURES} and \texttt{FILES} macros in the \texttt{Makefile}).
|
125 |
|
|
|
126 |
|
|
\section{Changing Fonts}
|
127 |
|
|
|
128 |
|
|
Change fonts: {\Large Large},
|
129 |
|
|
\verb+verbatim ~@#$%^&*(){}[]+,
|
130 |
|
|
\textsc{Small Caps},
|
131 |
|
|
\textsl{slanted text},
|
132 |
|
|
\emph{emphasized text},
|
133 |
|
|
\texttt{typewriter text}.
|
134 |
|
|
|
135 |
|
|
\section{Accents and Ligatures}
|
136 |
|
|
|
137 |
|
|
Some accents:
|
138 |
|
|
\'{e}
|
139 |
|
|
\`{e}
|
140 |
|
|
\^{o}
|
141 |
|
|
\"{u}
|
142 |
|
|
\c{c}
|
143 |
|
|
\"{\i}
|
144 |
|
|
\'{\i}
|
145 |
|
|
\~{n}
|
146 |
|
|
\={a}
|
147 |
|
|
\v{a}
|
148 |
|
|
\u{a}
|
149 |
|
|
|
150 |
|
|
\noindent Some ligatures:
|
151 |
|
|
fl{\ae}ffi
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
\section{Some Lists}
|
155 |
|
|
|
156 |
|
|
Here is a nested enumeration:
|
157 |
|
|
\begin{enumerate}
|
158 |
|
|
\item An enumerated list of items.
|
159 |
|
|
\begin{enumerate}
|
160 |
|
|
\item which can
|
161 |
|
|
\item nest
|
162 |
|
|
\begin{enumerate}
|
163 |
|
|
\item to arbitrary
|
164 |
|
|
\item levels
|
165 |
|
|
\end{enumerate}
|
166 |
|
|
\end{enumerate}
|
167 |
|
|
\item More items
|
168 |
|
|
\item in the top
|
169 |
|
|
\item level list.
|
170 |
|
|
\end{enumerate}
|
171 |
|
|
Another enumeration:
|
172 |
|
|
\begin{enumerate}
|
173 |
|
|
\item
|
174 |
|
|
\begin{enumerate}
|
175 |
|
|
\item Main 1 part 1
|
176 |
|
|
\item Main 1 part 2
|
177 |
|
|
\end{enumerate}
|
178 |
|
|
\item
|
179 |
|
|
\begin{enumerate}
|
180 |
|
|
\item Main 2 part 1
|
181 |
|
|
\item Main 2 part 2
|
182 |
|
|
\end{enumerate}
|
183 |
|
|
\end{enumerate}
|
184 |
|
|
|
185 |
|
|
\subsection{Subsection}
|
186 |
|
|
|
187 |
|
|
\subsubsection{Subsubsection}
|
188 |
|
|
\label{sec:nested}
|
189 |
|
|
This section is referred to by Section~\ref{sec:xrefs}.
|
190 |
|
|
|
191 |
|
|
\subsubsection{Subsubsection}
|
192 |
|
|
\textsf{$<$Empty subsection$>$}
|