make it 99perc match samk template

This commit is contained in:
2023-12-09 00:41:54 +02:00
parent 4fcea9821c
commit 0b36f455bf
7 changed files with 105 additions and 75 deletions

Binary file not shown.

View File

@@ -1,134 +1,105 @@
%
% 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
% version: 4
% 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
% Version 4: Big distorce from SAMK version. Remake it to match template and added the samk-template.cfg file
% To use Sublime-Text 4 check this guide: https://abhigupta.io/2021/05/14/clean-sublime-setup.html
% at end of 2023 kile is better
%\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[bottom=0.98in,top=0.39in,left=1.58in,right=0.98in]{geometry} %define margin size
\usepackage{url}
\usepackage{fontawesome5}
\usepackage{wrapfig} %to wrap text around picture
\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
}}}
\InputIfFileExists{samk-template.cfg}{}{} %load settings to match samk template
\begin{document}
%to insert image in the front page
\AddToShipoutPicture*{\BackgroundPic}
%\OnehalfSpacing
\DoubleSpacing
\AddToShipoutPicture*{\BackgroundPic} %to insert image in the front page
\begin{center}
\begin{vplace}[6]
\begin{vplace}[17]
\Large EDUARDO LUIS HOFMANN\\
\bigskip
\Huge \textbf{Thesis Topic}\\
\bigskip
\LARGE Research Communication\\
\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
\bigskip
\bigskip
\bigskip
\bigskip
\large
DEGREE PROGRAMME IN INDUSTRIAL MANAGEMENT\\2023
\bigskip
\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
\thispagestyle{empty}
%page 2 - CONTENTS
\clearpage
\pagestyle{plain} %re enable the page numbering
\tableofcontents
\begin{KeepFromToc}
\tableofcontents
\end{KeepFromToc}
\thispagestyle{empty}
%page 4
% START OF THE DOCUMENT
\clearpage
\thispagestyle{headings} %re enable the page numbering
\chapter{Quotes for the Future}
\section{Eduardo quotes}
\begin{quote}
Do more with the same\\
Do the same with less \cite{rickards2016road}
Do more with the same\\
Do the same with less
\end{quote}
\footnote{someday on history books }
\section{Eduardos Digitalisation Manifesto}
1 Security
Each component of a digitalization venture shall consider be operational in a harsh cyber environment.\\
2 Workflow
Without becoming a mandatory part of the process, by the functionality and not by words. A digitalization effort will turn into a useless junk of pieces and bits.\\
3 Evolution
Plan ahead how a single entity will maintain operational capabilities with the transformation of the entire chain.\\
4 Process
Digitalisation sometimes is not about taking one manual operation and make it in a electronic way. Most of the times is about killing that manual process.\\
source:\cite{manifesto}\\
\clearpage
%\bibliographystyle{plain}
\bibliographystyle{apacite} %to cite using APA style
\setlength{\bibhang}{0pt}
\bibliography{bibliography}
\mbox{}
\vfill
\centering
\definecolor{mygray}{gray}{.94}
\color{mygray}
\textcopyleft \ by Eduardo Luis Hofmann || Made with \faIcon{linux} and \LaTeX\\
\end{document}

Binary file not shown.

View File

@@ -6,7 +6,6 @@
version = "Portuguese"
}
@misc{linkreference,
title = "Change the Title",
author = "Change the Author",
@@ -22,3 +21,10 @@
year={2016},
publisher={Penguin Books Limited}
}
@misc{manifesto,
title = "Eduardos Digitalisation Manifesto",
author = "Eduardo Luis Hofmann",
howpublished = "\url{https://www.33co.de/posts/manifesto/}",
year = "Apr 25, 2023 (accessed Dec 18, 2023)"
}

Binary file not shown.

View File

@@ -0,0 +1,53 @@
%
% This file contains the modifications to match samk template in 2023
% Created by: ehofmann
% 09/Dec/2023
%
%\ProvidesPackage{samk-template}[2023/12/09]
%to minimize use of hyphenation
\spaceskip=1.3\fontdimen2\font plus 1.3\fontdimen3\font minus 1.3\fontdimen4\font
%code to insert background image
\usepackage{eso-pic}
\newcommand\BackgroundPic{%
\put(0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\vspace*{-3.5cm}
\centering
\includegraphics[width=\paperwidth,height=\paperheight,%
keepaspectratio]{img/samk-cover-logo.png} %
\vfill
}}}
%this adjust chapter title to match SAMK template
%source: https://tex.stackexchange.com/a/339606
\usepackage{titlesec}
\titleformat{\chapter}
{\vspace{6em}\normalfont\Large}
{\thechapter}
{.5em}
{\MakeUppercase}
[\vspace{.5ex}]
\titlespacing*{\chapter}
{0pt}
{0pt}
{15pt}
%this adjust chapter section to match SAMK template
\titleformat{\section}
{\normalfont\sffamily\large\color{black}}
{\thesection}{.5em}{}
% to fix table of content title and make chapter upper case
\renewcommand{\printtoctitle}[1]{\Large\MakeUppercase #1}
\makeatletter
\patchcmd{\l@chapter}{#1}{\MakeTextUppercase{#1}}{}{}
\makeatother
%remove indent beginning of paragraph
\setlength{\parindent}{0pt}