latex-quickstart/latex-quickstart.tex

85 lines
2.2 KiB
TeX
Raw Permalink Normal View History

2017-05-28 20:11:28 +02:00
% --------------------------------------------------------------------
% Document structure
% --------------------------------------------------------------------
\documentclass[paper=a4, fontsize=12pt]{report}
% --------------------------------------------------------------------
% Packages
% --------------------------------------------------------------------
\usepackage[a4paper]{geometry}
\usepackage[hidelinks]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{lastpage}
\usepackage{fancyhdr}
\usepackage{caption}
\usepackage{subcaption}
2017-05-28 20:11:28 +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}
% Table packages
\usepackage[none]{hyphenat}
\usepackage{tabularx}
\usepackage{multirow}
\captionsetup[table]{skip=5pt}
% Graphics packages
\usepackage{graphicx}
\usepackage{float}
\graphicspath{images/}
2018-02-02 13:11:58 +01:00
% Bibliography packages
\usepackage[numbers,sort&compress]{natbib}
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}
% --------------------------
% Front matter (includes introduction)
2017-05-28 20:11:28 +02:00
% --------------------------
\include{includes/frontMatter}
2017-05-28 20:11:28 +02:00
% --------------------------
% Main matter
% --------------------------
\chapter{Text test chapter}\label{sec:first}
\input{chapters/textTestChapter}
2017-05-28 20:11:28 +02:00
\chapter{Elements test chapter}\label{sec:second}
\input{chapters/elementsTestChapter}
2017-05-28 20:11:28 +02:00
% --------------------------
% Back(end) matter
% --------------------------
2018-02-02 13:11:58 +01:00
\include{includes/backMatter}
2017-05-28 20:11:28 +02:00
\end{document}