%
%	This document is a replication of the original Template_for_a_Thesis_042020.dotx
%	attempting to replicate the style in LATEX
%
%	Created by: 	Eduardo Luis Hofmann
%	Date:			09/09/2020
%	License:		GPL-3.0-or-later
%	version: 		3
%	Using TexStudio and compiling with lualatex
%   log
% 	Version 1: Initial template
% 	Version 2: Improved Latex features
% 	Version 3: Work to downgrade and somehow match SAMK MS Word thesis template, due to teachers complains

% 	To use Sublime-Text 4 check this guide: https://abhigupta.io/2021/05/14/clean-sublime-setup.html

%\documentclass[a4paper,11pt]{article}
\documentclass[a4paper,12pt]{memoir}
\usepackage[natbibapa]{apacite} % this package is to cite using APA style in citations

\usepackage{graphicx} 			%for graphics image loading
\usepackage[sfdefault,lining]{FiraSans} 
\usepackage[fakebold]{firamath-otf}
% need to have Arial font installed yay ttf-ms-fonts in arch
%\usepackage{fontspec}
%\setmainfont{Arial}

\usepackage{float} %to allow use of image Here
\usepackage{makecell} % to break cell lines
\usepackage{floatflt} % to make the text around images
\usepackage{enumitem} % to create enumarations using letters A B C --https://tex.stackexchange.com/questions/2291/how-do-i-change-the-enumerate-list-format-to-use-letters-instead-of-the-defaul

\usepackage{multicol} % to generate two column content https://stackoverflow.com/questions/1491717/how-to-display-a-content-in-two-column-layout-in-latex

\usepackage{lipsum}   % to add lorem ipsum for testing and formating

\usepackage{hyperref} % to add link in the document
%to minimize use of hyphenation
\spaceskip=1.3\fontdimen2\font plus 1.3\fontdimen3\font minus 1.3\fontdimen4\font

% change paragraph font size
\usepackage{titlesec}
\titleformat*{\paragraph}{\normalfont} %{\thesection}{12pt}{}

% to remove the word Abstract before the abstract text
%\usepackage{abstract}
%\renewcommand{\abstractname}{}    % clear the title
%\renewcommand{\absnamepos}{empty} % originally center

\usepackage[bottom]{footmisc} %force footnote to stay at bottom of the page
\usepackage[bottom=2cm,top=0.5in,left=0.9in,right=0.9in]{geometry}  %define margin size

\usepackage{url}

\usepackage{fontawesome5}

\usepackage{wrapfig}%to wrap text around picture


%code to insert background image
\usepackage{eso-pic}
\newcommand\BackgroundPic{%
	\put(0,0){%
		\parbox[b][\paperheight]{\paperwidth}{%
			\vfill
			\vspace*{-3cm}
			\centering
			\includegraphics[width=\paperwidth,height=\paperheight,%
			keepaspectratio]{img/samk-cover-logo.png} %
			\vfill
}}}



\begin{document}
%to insert image in the front page
\AddToShipoutPicture*{\BackgroundPic}


\begin{center}
	\begin{vplace}[6]
		\Large  EDUARDO LUIS HOFMANN\\
		\bigskip\bigskip\bigskip
	
		\Huge  Change the title\\
		\bigskip\bigskip

		\Large Change the Discipline\\
		\bigskip\bigskip\bigskip\bigskip\bigskip\bigskip
		\bigskip\bigskip\bigskip\bigskip\bigskip\bigskip
		DEGREE PROGRAMME IN INDUSTRIAL MANAGEMENT\\2022
	\end{vplace}
\end{center}
\pagestyle{empty}

%page 2
%\clearpage
%\pagestyle{plain} %re enable the page numbering

%to be added table describing the document

%page 3 - CONTENTS


\clearpage
\pagestyle{plain} %re enable the page numbering
\tableofcontents


%page 4
% START OF THE DOCUMENT
\clearpage


\chapter{Quotes for the Future}
\section{Eduardo quotes}
\begin{quote}
Do more with the same\\
Do the same with less \cite{rickards2016road}
\end{quote}
\footnote{someday on history books  }


\clearpage
%\bibliographystyle{plain}
\bibliographystyle{apacite} %to cite using APA style
\bibliography{bibliography} 


\mbox{}
\vfill
\centering
\textcopyleft \ by Eduardo Luis Hofmann || Made with \faIcon{linux} and \LaTeX\\
\end{document}
