2016-12-02 09:36:04 +00:00
%!TEX root = ../thesis.tex
%*******************************************************************************
%****************************** Third Chapter **********************************
%*******************************************************************************
2014-06-09 12:45:53 +01:00
\chapter { My third chapter}
2013-11-14 18:51:42 +00:00
2013-11-25 23:59:10 +00:00
% **************************** Define Graphics Path **************************
\ifpdf
\graphicspath { { Chapter3/Figs/Raster/} { Chapter3/Figs/PDF/} { Chapter3/Figs/} }
\else
\graphicspath { { Chapter3/Figs/Vector/} { Chapter3/Figs/} }
\fi
2014-06-09 12:45:53 +01:00
\section { First section of the third chapter}
2013-11-16 18:30:39 +00:00
And now I begin my third chapter here \dots
2013-11-14 18:51:42 +00:00
2013-11-24 23:26:21 +00:00
And now to cite some more people~\citet { Rea85,Ancey1996}
2013-11-14 18:51:42 +00:00
2014-06-09 12:45:53 +01:00
\subsection { First subsection in the first section}
2013-11-16 18:30:39 +00:00
\dots and some more
2013-11-14 18:51:42 +00:00
2014-06-09 12:45:53 +01:00
\subsection { Second subsection in the first section}
2013-11-16 18:30:39 +00:00
\dots and some more \dots
2013-11-14 18:51:42 +00:00
2013-11-19 00:25:36 +00:00
\subsubsection { First subsub section in the second subsection}
2013-11-16 18:30:39 +00:00
\dots and some more in the first subsub section otherwise it all looks the same
doesn't it? well we can add some text to it \dots
2013-11-14 18:51:42 +00:00
2014-06-09 12:45:53 +01:00
\subsection { Third subsection in the first section}
2013-11-16 18:30:39 +00:00
\dots and some more \dots
2013-11-14 18:51:42 +00:00
2013-11-19 00:25:36 +00:00
\subsubsection { First subsub section in the third subsection}
2013-11-16 18:30:39 +00:00
\dots and some more in the first subsub section otherwise it all looks the same
2013-11-14 18:51:42 +00:00
doesn't it? well we can add some text to it and some more and some more and
2013-11-16 18:30:39 +00:00
some more and some more and some more and some more and some more \dots
2013-11-14 18:51:42 +00:00
2013-11-19 00:25:36 +00:00
\subsubsection { Second subsub section in the third subsection}
2013-11-16 18:30:39 +00:00
\dots and some more in the first subsub section otherwise it all looks the same
doesn't it? well we can add some text to it \dots
2013-11-14 18:51:42 +00:00
2014-06-09 12:45:53 +01:00
\section { Second section of the third chapter}
2013-11-16 18:30:39 +00:00
and here I write more \dots
2014-06-29 12:13:35 +01:00
\section { The layout of formal tables}
2014-06-29 20:06:31 +01:00
This section has been modified from ``Publication quality tables in \LaTeX * ''
by Simon Fear.
2014-06-29 12:13:35 +01:00
2014-06-29 20:06:31 +01:00
The layout of a table has been established over centuries of experience and
should only be altered in extraordinary circumstances.
When formatting a table, remember two simple guidelines at all times:
2014-06-29 12:13:35 +01:00
\begin { enumerate}
2014-06-29 20:06:31 +01:00
\item Never, ever use vertical rules (lines).
2014-06-29 12:13:35 +01:00
\item Never use double rules.
\end { enumerate}
These guidelines may seem extreme but I have
never found a good argument in favour of breaking them. For
example, if you feel that the information in the left half of
a table is so different from that on the right that it needs
to be separated by a vertical line, then you should use two
tables instead. Not everyone follows the second guideline:
There are three further guidelines worth mentioning here as they
are generally not known outside the circle of professional
typesetters and subeditors:
\begin { enumerate} \setcounter { enumi} { 2}
\item Put the units in the column heading (not in the body of
the table).
\item Always precede a decimal point by a digit; thus 0.1
{ \em not} just .1.
\item Do not use `ditto' signs or any other such convention to
repeat a previous value. In many circumstances a blank
will serve just as well. If it won't, then repeat the value.
\end { enumerate}
2014-06-29 20:06:31 +01:00
A frequently seen mistake is to use `\textbackslash begin\{ center\} ' \dots `\textbackslash end\{ center\} ' inside a figure or table environment. This center environment can cause additional vertical space. If you want to avoid that just use `\textbackslash centering'
\begin { table}
\caption { A badly formatted table}
\centering
\label { table:bad_ table}
\begin { tabular} { |l|c|c|c|c|}
\hline
& \multicolumn { 2} { c} { Species I} & \multicolumn { 2} { c|} { Species II} \\
\hline
Dental measurement & mean & SD & mean & SD \\ \hline
\hline
I1MD & 6.23 & 0.91 & 5.2 & 0.7 \\
\hline
I1LL & 7.48 & 0.56 & 8.7 & 0.71 \\
\hline
I2MD & 3.99 & 0.63 & 4.22 & 0.54 \\
\hline
I2LL & 6.81 & 0.02 & 6.66 & 0.01 \\
\hline
CMD & 13.47 & 0.09 & 10.55 & 0.05 \\
\hline
CBL & 11.88 & 0.05 & 13.11 & 0.04\\
\hline
\end { tabular}
\end { table}
2014-06-29 12:13:35 +01:00
\begin { table}
2014-06-29 20:06:31 +01:00
\caption { A nice looking table}
2013-11-16 18:30:39 +00:00
\centering
2014-06-29 20:06:31 +01:00
\label { table:nice_ table}
\begin { tabular} { l c c c c}
\hline
\multirow { 2} { *} { Dental measurement} & \multicolumn { 2} { c} { Species I} & \multicolumn { 2} { c} { Species II} \\
\cline { 2-5}
& mean & SD & mean & SD \\
\hline
I1MD & 6.23 & 0.91 & 5.2 & 0.7 \\
I1LL & 7.48 & 0.56 & 8.7 & 0.71 \\
I2MD & 3.99 & 0.63 & 4.22 & 0.54 \\
I2LL & 6.81 & 0.02 & 6.66 & 0.01 \\
CMD & 13.47 & 0.09 & 10.55 & 0.05 \\
CBL & 11.88 & 0.05 & 13.11 & 0.04\\
\hline
\end { tabular}
\end { table}
\begin { table}
\caption { Even better looking table using booktabs}
\centering
\label { table:good_ table}
\begin { tabular} { l c c c c}
2014-06-29 12:13:35 +01:00
\toprule
2014-06-29 20:06:31 +01:00
\multirow { 2} { *} { Dental measurement} & \multicolumn { 2} { c} { Species I} & \multicolumn { 2} { c} { Species II} \\
\cmidrule { 2-5}
& mean & SD & mean & SD \\
\midrule
I1MD & 6.23 & 0.91 & 5.2 & 0.7 \\
I1LL & 7.48 & 0.56 & 8.7 & 0.71 \\
I2MD & 3.99 & 0.63 & 4.22 & 0.54 \\
I2LL & 6.81 & 0.02 & 6.66 & 0.01 \\
CMD & 13.47 & 0.09 & 10.55 & 0.05 \\
CBL & 11.88 & 0.05 & 13.11 & 0.04\\
\bottomrule
2013-11-16 18:30:39 +00:00
\end { tabular}
2013-11-19 00:25:36 +00:00
\end { table}