Empty_Master_Template.tex 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. \documentclass[11pt, a4paper, twoside, titlepage]{book}
  2. \usepackage[latin1]{inputenc}
  3. \usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools} % Most people will need these for mathematics
  4. %Figures
  5. \usepackage{graphicx} %Graphics package
  6. \usepackage[center]{caption}
  7. \usepackage{subcaption}
  8. \usepackage{wrapfig} % Wrap text around figures
  9. \usepackage{float} % To place figures correctly
  10. \usepackage{makeidx} % Probably important.
  11. \usepackage{listings} % To include code-snippets
  12. \usepackage{color}
  13. \usepackage{hyperref} % Clickable links to urls, internal and external references etc.
  14. \lstset{
  15. basicstyle=\footnotesize\ttfamily,
  16. identifierstyle=\bfseries\color{green!40!black},
  17. commentstyle=\itshape\color{purple!40!black},
  18. keywordstyle=\color{blue},
  19. stringstyle=\color{orange},
  20. }
  21. \usepackage{pdfpages} % Packages to handle certain issues with the pdf conversion and landscape figures/tables
  22. \usepackage{lscape}
  23. \usepackage[authoryear,square]{natbib} % References/bibliography package
  24. \usepackage{footnote}
  25. \usepackage[titletoc]{appendix} % Appendix + add to table of contents
  26. \usepackage{sidecap}
  27. % Table packages
  28. \usepackage{tabularx}
  29. \makesavenoteenv{tabular}
  30. \makesavenoteenv{table}
  31. \usepackage{array}
  32. \usepackage{booktabs}
  33. \newcommand*\rot{\rotatebox{90}}
  34. \usepackage{changepage}
  35. \usepackage{verbatim}
  36. \usepackage{cprotect}
  37. \usepackage{cancel}
  38. %Special in-document vector graphics:
  39. \usepackage{tikz}
  40. \usetikzlibrary{shapes.geometric,calc,positioning,3d,intersections,arrows}
  41. \usetikzlibrary{decorations.markings}
  42. \usepackage{pgfplots}
  43. % Custom characters
  44. \newcommand{\slfrac}[2]{\left.#1\middle/#2\right.} % Long on-line fraction-slash: \slfrac
  45. \newcommand{\degree}{\ensuremath{^\circ}} % The 'degree' character : \degree
  46. \DeclareRobustCommand{\orderof}{\ensuremath{\mathcal{O}}} % The 'Order of' character: \orderof
  47. %Epigraph / quote
  48. \usepackage{epigraph}
  49. \setlength\epigraphwidth{.8\textwidth}
  50. \setlength\epigraphrule{0pt}
  51. \title{Typesetting your Master's Thesis with \LaTeX -- A pragmatic approach.}
  52. \author{%
  53. \large
  54. \textsc{Tarjei Antonsen}\\[2mm]
  55. \normalsize University of Troms{\o} \\
  56. \normalsize \href{mailto:tarjei.antonsen@uit.no}{tarjei.antonsen@uit.no}
  57. \vspace{-5mm}
  58. }
  59. \date{October 2014}
  60. % START OF MAIN DOCUMENT
  61. \begin{document}
  62. \maketitle
  63. \frontmatter
  64. %ABSTRACT
  65. \chapter*{\centering \begin{normalsize}Abstract\end{normalsize}}
  66. \addcontentsline{toc}{chapter}{Abstract}
  67. You are currently reading the abstract which is the summary of the following work. Often the reader will benefit from a short introduction to the subject of which the thesis concerns itself and where the current work contributes to this. The methods used should be introduced, with emphasis on the improving aspects of your method. Important or never before used parameter values can be mentioned -- such as $\rho_s=3000$ kgm$^{-3}$. The most important results and discussions should also be mentioned accordingly to the conclusions. If you have concluded with something which renders the findings of e.g. \citet{tomsic1,havnes07} redundant, you may also mention this as an additional selling point.
  68. \clearpage
  69. %ACKNOWLEDGEMENTS
  70. \chapter{Acknowledgments}
  71. Above all, I wish to express my sincerest gratitude to my supervisor Prof. Bob Saget.\\
  72. \\
  73. I also love my girlfriend. LOL, JK, don't have one. I am sad.
  74. \\
  75. \\
  76. \qquad \emph{Barack Obama},\\
  77. \qquad \emph{October 2014}
  78. \newpage
  79. \thispagestyle{empty}
  80. \vspace*{\fill}
  81. \epigraph{\itshape Begin at the beginning, the King said gravely, ``I like big butts and I cannot lie''}{---Lewis Carroll, \textit{Sir Mix-A-Lot in Wonderland}}
  82. % ADD TABLE OF CONTENTS
  83. \tableofcontents
  84. \mainmatter
  85. % FIRST CHAPTER
  86. \chapter{Introduction}
  87. \TeX\ and \LaTeX\ are a typesetting system and document preparation language, respectively, which have become the \emph{de facto} standard in academia.
  88. \section{The main TeX-document}
  89. There isn't really much too you main document. It is just a plain text file in the .tex-format, and if you really wanted to, you could write your entire thesis in any notepad. The biggest advantage with using \LaTeX\ editors and specialized software, is that the code is color coded and usually well-presented. Apart from that, with the ''few'' commands you need when writing a thesis, I always prefer using the most basic programs without 'too many options' (e.g. TeXShop). If you are bombarded with opportunities, the probability of using some unnecessary option will be significant. Many users, however, may save some time by using the built-in macros and shortcuts which many distributions have, and this is of course recommended.
  90. \subsection{Sectional hierarchy of the 'book' format}
  91. A thesis is normally structured into chapters which contain sections and subsections. The primary commands to make a new object of one of these classes are:
  92. \begin{verbatim}
  93. \chapter{...}
  94. \section{...}
  95. \subsection{...}
  96. \subsubsection{...}
  97. \end{verbatim}
  98. % Commands to include a figure:
  99. %\begin{figure}
  100. %\includegraphics[width=\textwidth]{your-figure's-file-name}
  101. %\caption{\label{fig:your-figure}Caption goes here.}
  102. %\end{figure}
  103. %APPENDICES
  104. \begin{appendices}
  105. \noappendicestocpagenum
  106. \addappheadtotoc
  107. \chapter{How to pronounce \LaTeX}\label{pron}
  108. Who the balls cares? \citet{havnes96}
  109. \end{appendices}
  110. \bibliographystyle{Bibliography/Template_LastNameFirst_Alphabetical}
  111. \bibliography{Bibliography/database_template}
  112. \end{document}