2017-05-28 20:11:28 +02:00
|
|
|
% --------------------------------------------------------------------
|
|
|
|
% Document structure
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
\documentclass[paper=a4, fontsize=12pt]{report}
|
|
|
|
|
|
|
|
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
% Packages
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
\usepackage[a4paper]{geometry}
|
|
|
|
%\usepackage[margin=1in, left=1.5in]{geometry}
|
|
|
|
\usepackage[hidelinks]{hyperref}
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage{lipsum}
|
2017-05-28 23:18:36 +02:00
|
|
|
\usepackage{lastpage}
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage{caption}
|
|
|
|
\usepackage{subcaption}
|
2017-05-28 20:11:28 +02:00
|
|
|
|
2017-05-28 23:18:36 +02:00
|
|
|
% Title packages
|
2017-05-28 20:11:28 +02:00
|
|
|
\usepackage{titlesec}
|
|
|
|
\titleformat{\chapter}{\normalfont\huge\bfseries}{\thechapter. }{0pt}{\Huge}
|
|
|
|
\titlespacing{\chapter} {0pt}{0pt}{10pt}
|
|
|
|
|
2017-05-28 23:18:36 +02:00
|
|
|
% Table packages
|
|
|
|
\usepackage[none]{hyphenat}
|
|
|
|
\usepackage{tabularx}
|
|
|
|
\usepackage{multirow}
|
|
|
|
\captionsetup[table]{skip=5pt}
|
|
|
|
|
|
|
|
% Graphics packages
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{float}
|
|
|
|
\graphicspath{images/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-28 20:11:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
% Variables
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
% Title page variables
|
|
|
|
\def \SubTitleVar {A LaTeX report starting point}
|
|
|
|
\def \DateVar {\today}
|
|
|
|
\def \TitleVar {\LaTeX-quickstart}
|
|
|
|
\def \AuthorVar {Rick van Lieshout}
|
|
|
|
\def \AuthorTitleVar {Software Engineer}
|
|
|
|
\def \AuthorURLVar {http://mastermindzh.com}
|
|
|
|
\def \AuthorEmailVar {info@rickvanlieshout.com}
|
|
|
|
|
|
|
|
% General variables
|
|
|
|
|
|
|
|
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
% Includes
|
|
|
|
% --------------------------------------------------------------------
|
|
|
|
\include{includes/titlePage}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{titlepage}
|
|
|
|
\printTitlePage
|
|
|
|
\end{titlepage}
|
|
|
|
% --------------------------
|
2017-05-28 23:18:36 +02:00
|
|
|
% Front matter (includes introduction)
|
2017-05-28 20:11:28 +02:00
|
|
|
% --------------------------
|
2017-05-28 23:18:36 +02:00
|
|
|
\include{includes/frontMatter}
|
2017-05-28 20:11:28 +02:00
|
|
|
|
|
|
|
% --------------------------
|
|
|
|
% Main matter
|
|
|
|
% --------------------------
|
2017-05-28 23:18:36 +02:00
|
|
|
\chapter{Text test chapter}\label{sec:first}
|
|
|
|
\input{chapters/textTestChapter}
|
2017-05-28 20:11:28 +02:00
|
|
|
|
|
|
|
|
2017-05-28 23:18:36 +02:00
|
|
|
\chapter{Elements test chapter}\label{sec:second}
|
|
|
|
\input{chapters/elementsTestChapter}
|
2017-05-28 20:11:28 +02:00
|
|
|
|
2017-05-28 23:18:36 +02:00
|
|
|
% --------------------------
|
|
|
|
% Back(end) matter
|
|
|
|
% --------------------------
|
2017-05-28 20:11:28 +02:00
|
|
|
|
|
|
|
\end{document}
|