diff --git a/presentations/iosifache/README.md b/presentations/iosifache/README.md new file mode 100644 index 0000000..1967c20 --- /dev/null +++ b/presentations/iosifache/README.md @@ -0,0 +1,29 @@ +# Presentation Template for Master's Thesis + +## Description + +This folder offers a LaTex template that you can use to present your master's thesis. + +It is intended to provide the LaTeX primitives that can be used to create these types of presentations, rather than to advocate a specific content structure. Please review [this website](https://wiki.cs.pub.ro/studenti/diploma/indicatii#realizare-slide-uri-pentru-sustinereprezentare)'s suggestions for the latter. + +Only `configuration.tex` and the files in the `frames` and `images` folders are intended to be altered. Feel free to make changes to any file if you wish to further tweak the theme! + +## How To Use + +1. Import the `project` folder into Overleaf. +2. Change `configuration.tex` with your details. +3. Create new sections with slides in the `frames/sections` folder, eventually by using the components provided as an example in `frames/sections/examples.tex`. After creating a new section, create a new `\include{}` macro in `frames/sections/_all.tex`. +4. When finishing the content creation, remove `,handout` from `main.tex`'s first line to enable the transitions. +5. In `frames/sections/_all.tex`, remove the `\include` macro that references `examples.tex`. The latter file can be removed as well. + +## Preview + + + + Preview + + + +## Contact + +Please drop an email to `hi@iosifache.me` if you have any questions. diff --git a/presentations/iosifache/export.pdf b/presentations/iosifache/export.pdf new file mode 100644 index 0000000..08a1503 Binary files /dev/null and b/presentations/iosifache/export.pdf differ diff --git a/presentations/iosifache/preview.jpg b/presentations/iosifache/preview.jpg new file mode 100644 index 0000000..7ee59f6 Binary files /dev/null and b/presentations/iosifache/preview.jpg differ diff --git a/presentations/iosifache/project/configuration.tex b/presentations/iosifache/project/configuration.tex new file mode 100644 index 0000000..43b9737 --- /dev/null +++ b/presentations/iosifache/project/configuration.tex @@ -0,0 +1,13 @@ +\setdetailspecialization{MASTER PROGRAM} + +\setdetailtitle{Lorem Ipsum: Dolor Sit Amet} + +\setdetailauthor{John Doe} + +\setdetailadviser{Jane Doe} + +\setdetailsecondadviser{John Doe} + +\setdetailcity{Bucharest} + +\setdetaildate{2023} \ No newline at end of file diff --git a/presentations/iosifache/project/frames/cover.tex b/presentations/iosifache/project/frames/cover.tex new file mode 100644 index 0000000..ab8cc3a --- /dev/null +++ b/presentations/iosifache/project/frames/cover.tex @@ -0,0 +1,38 @@ +\begin{frame}[noframenumbering] + \begin{center} + + \begin{columns} + \column{.3\textwidth} + \includegraphics[width=0.4\textwidth, right]{images/theme/upb.png} + + \column{.7\textwidth} + { + \tiny + + \textbf{\color{gray} UNIVERSITY POLITEHNICA OF BUCHAREST} \\ + \textbf{\color{gray} FACULTY OF AUTOMATIC CONTROL AND COMPUTERS} \\ + \textbf{\color{gray} COMPUTER SCIENCE AND ENGINEERING DEPARTMENT} \\ + \textbf{\color{gray} \detailspecialization} \\ + } + \end{columns} + + \vspace*{1.5cm} + + \textbf{\detailtitle} + + \vspace*{1.5cm} + + \tiny + \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r} + \textbf{Thesis Advisors} & \textbf{Student}\\ + \tiny \color{gray} \detailadviser & \tiny \color{gray} \detailauthor\\ + \tiny \color{gray} \detailsecondadviser + \end{tabular*} + + \vspace*{1.5cm} + + \textbf{\detailcity} \\ + \textbf{\color{gray} \detaildate} + + \end{center} +\end{frame} \ No newline at end of file diff --git a/presentations/iosifache/project/frames/sections/_all.tex b/presentations/iosifache/project/frames/sections/_all.tex new file mode 100644 index 0000000..e2e0fb2 --- /dev/null +++ b/presentations/iosifache/project/frames/sections/_all.tex @@ -0,0 +1 @@ +\include{frames/sections/examples} \ No newline at end of file diff --git a/presentations/iosifache/project/frames/sections/examples.tex b/presentations/iosifache/project/frames/sections/examples.tex new file mode 100644 index 0000000..0e15bf9 --- /dev/null +++ b/presentations/iosifache/project/frames/sections/examples.tex @@ -0,0 +1,79 @@ +\section{Examples} + +\begin{frame}{Slide with Text Elements} \pause + \begin{itemize} + \item Item \pause + \item Item with a nested list \pause + \begin{itemize} + \item Item \pause + \item Item \pause + \item Item \pause + \end{itemize} + \item Item with a footnote\footnote{Some text} \pause + \item Item with a \href{https://acs.pub.ro}{link} \pause + \item item with some code: \texttt{import pandas} + \end{itemize} +\end{frame} + +\begin{frame}{Slide with a Grid with Logos} \pause + \begin{itemize} + \item Item \pause + \item Item + \end{itemize} \pause + + \vfill + + \begin{figure} + \centering + \subfigure{\includegraphics[width=0.05\textwidth]{images/theme/upb.png}} + \hspace{1em} + \subfigure{\includegraphics[width=0.05\textwidth]{images/theme/upb.png}} + \hspace{1em} + \subfigure{\includegraphics[width=0.05\textwidth]{images/theme/upb.png}} + \hspace{1em} + \subfigure{\includegraphics[width=0.05\textwidth]{images/theme/upb.png}} + \end{figure} + \vfill +\end{frame} + +\begin{frame}[fragile] + \begin{figure}[!ht] + \centering + \tiny + \begin{minipage}{0.7\textwidth} + \begin{minted}{bash} + #!/bin/bash + + echo "Hello World!" + \end{minted} + \end{minipage} + \caption{Code Snippet} + \end{figure} +\end{frame} + +\begin{frame} + \includegraphics[width=0.5\textwidth, center]{images/theme/upb.png} + \captionsetup{justification=centering,margin=1cm} + \captionof{figure}{Image} +\end{frame} + +\begin{frame} + + \begin{table}[] + \centering + \begin{tabular}{|l|l|} + \hline + Column Name \#1 & Column Name \#2 \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + \end{tabular} + \caption{Table} + \label{tab:table} + \end{table} + +\end{frame} \ No newline at end of file diff --git a/presentations/iosifache/project/images/theme/upb.png b/presentations/iosifache/project/images/theme/upb.png new file mode 100644 index 0000000..5822f52 Binary files /dev/null and b/presentations/iosifache/project/images/theme/upb.png differ diff --git a/presentations/iosifache/project/main.sty b/presentations/iosifache/project/main.sty new file mode 100644 index 0000000..c64d320 --- /dev/null +++ b/presentations/iosifache/project/main.sty @@ -0,0 +1,73 @@ +\ProvidesPackage{main} + +% Packages +\usepackage[export]{adjustbox} +\usepackage[english]{babel} +\usepackage{booktabs} +\usepackage{caption} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage{minted} +\usepackage{subfiles} +\usepackage{tikz} + +% TikZ configuration +\usetikzlibrary{calc} + +% Beamer configuration +\mode{ + \usetheme{default} + \usecolortheme{seagull} + \usefonttheme{default} + \setbeamertemplate{caption}[numbered] +} +\setbeamertemplate{frametitle}{\nointerlineskip + \begin{beamercolorbox}[wd=\paperwidth,ht=2.75ex,dp=1.375ex]{frametitle} + \hspace*{2ex} \small \bfseries \insertframetitle \hfill \hspace*{1ex}% + \end{beamercolorbox}\par\vskip-1pt\hrulefill} +\setbeamerfont{frametitle}{size=\normalsize} +\setbeamerfont{footnote}{size=\tiny} +\AtBeginEnvironment{table}{\tiny} + +% Numbered slides +\def\insertadjustedtotalpages{ + \pgfmathparse{\inserttotalframenumber} + \pgfmathprintnumber[fixed]{\pgfmathresult} +} +\newcommand{\startnumbering}{ + \addtobeamertemplate{navigation symbols}{}{ + \hspace{1em} + \usebeamerfont{footline}% + \insertframenumber\hspace{0.1cm}/\insertadjustedtotalpages + } +} + +% Path to images +\graphicspath{images} + +% Renaming the captions +\addto\captionsenglish{\renewcommand{\figurename}{Figure}} +\captionsetup[table]{name=Table} + +% Details about the thesis +\newcommand{\detaildate}{} +\newcommand{\detailcountry}{} +\newcommand{\detailcity}{} +\newcommand{\detailspecialization}{} +\newcommand{\detailtitle}{} +\newcommand{\detailauthor}{} +\newcommand{\detailadviser}{} +\newcommand{\detailsecondadviser}{} + +% Commands for setting the details above +\newcommand{\setdetaildate}[1]{\renewcommand{\detaildate}{#1}} +\newcommand{\setdetailcountry}[1]{\renewcommand{\detailcountry}{#1}} +\newcommand{\setdetailcity}[1]{\renewcommand{\detailcity}{#1}} +\newcommand{\setdetailspecialization}[1]{\renewcommand{\detailspecialization}{#1}} +\newcommand{\setdetailtitle}[1]{\renewcommand{\detailtitle}{#1}} +\newcommand{\setdetailauthor}[1]{\renewcommand{\detailauthor}{#1}} +\newcommand{\setdetailadviser}[1]{\renewcommand{\detailadviser}{#1}} +\newcommand{\setdetailsecondadviser}[1]{\renewcommand{\detailsecondadviser}{#1}} + +% User's details +\input{configuration} diff --git a/presentations/iosifache/project/main.tex b/presentations/iosifache/project/main.tex new file mode 100644 index 0000000..9b15e48 --- /dev/null +++ b/presentations/iosifache/project/main.tex @@ -0,0 +1,16 @@ +\documentclass[xcolor=svgnames,handout]{beamer} + +\usepackage{main} + +\begin{document} + +% Cover +\subfile{frames/cover} + +% Starting the page numbering after the first slide +\startnumbering + +% Sections +\subfile{frames/sections/_all} + +\end{document} \ No newline at end of file diff --git a/theses/iosifache/README.md b/theses/iosifache/README.md new file mode 100644 index 0000000..a07c82b --- /dev/null +++ b/theses/iosifache/README.md @@ -0,0 +1,32 @@ +# Master's Thesis Template + +## Description + +This folder contains a LaTex template for writing a master's thesis. + +It is intended to provide the LaTeX primitives that can be used to create these types of presentations, rather than to advocate a specific content structure. Please review [this website](https://wiki.cs.pub.ro/studenti/diploma/indicatii#indicatii-pentru-realizarea-proiectului-de-diploma)'s suggestions for the latter. + +Only the files in the `images`, `chapters`, and `configuration` folders are intended to be altered. Feel free to make changes to any file if you wish to further tweak the theme! + +## How To Use + +1. Import the `project` folder into Overleaf. +2. Change `configuration/details.tex` with your details. +3. Create new chapters in the `chapters` folder, eventually by using the components provided as an example in `chapters/examples.tex`. After creating a new chapter, create a new `\subfile{}` macro in `chapters/_all.tex`. When writing the content, please consider that some work can be done in parallel: + - Adding acronyms in `configuration/details.tex`; + - Adding concepts in `configuration/terms.tex`; + - Referencing papers, articles, websites, etc. in `configuration/bibliography.bib`; and + - Avoiding hyphenation for specific words by registering them in `configuration/whole_words.tex`. +4. When finishing the content creation, remove the `\subfile` macro that references `examples.tex` in `chapters/_all.tex`. The latter file can be removed as well. + +## Preview + + + + Preview + + + +## Contact + +Please drop an email to `hi@iosifache.me` if you have any questions. diff --git a/theses/iosifache/export.pdf b/theses/iosifache/export.pdf new file mode 100644 index 0000000..b5a341b Binary files /dev/null and b/theses/iosifache/export.pdf differ diff --git a/theses/iosifache/preview.jpg b/theses/iosifache/preview.jpg new file mode 100644 index 0000000..42d0dc7 Binary files /dev/null and b/theses/iosifache/preview.jpg differ diff --git a/theses/iosifache/project/chapters/_all.tex b/theses/iosifache/project/chapters/_all.tex new file mode 100644 index 0000000..a9d567b --- /dev/null +++ b/theses/iosifache/project/chapters/_all.tex @@ -0,0 +1,3 @@ +\pagestyle{plain} + +\subfile{examples.tex} \ No newline at end of file diff --git a/theses/iosifache/project/chapters/examples.tex b/theses/iosifache/project/chapters/examples.tex new file mode 100644 index 0000000..2c789a8 --- /dev/null +++ b/theses/iosifache/project/chapters/examples.tex @@ -0,0 +1,81 @@ +\documentclass[../main.tex]{subfiles} +\graphicspath{{\subfix{../images/}}} + +\begin{document} + +\hypertarget{chapter}{ + \chapter{Examples} + \label{chapter} +} + +This line cites the chapter \ref{chapter} and two resources mentioned in the +bibliography \cite{article} \cite{website}. + +In addition, it can have the acronym reference \ac{UPB} and the concept +"\gls{thesis}", which appears in the glossary. + +This is an ordered list. + +\begin{enumerate} + \item Item + \item Item + \item Item +\end{enumerate} + +This is an unordered list. + +\begin{itemize} + \item Item + \item Item + \item Item +\end{itemize} + +\newpage + +This line has some inline code, \texttt{import pandas}, and continues with a +fully-fledged code snippet: + +\begin{figure}[!ht] + \centering + \begin{minted}{bash} + #!/bin/bash + + echo "Hello World!" + \end{minted} + \caption{Code Snippet} +\end{figure} + +\begin{figure}[!h] + \centering + \includegraphics[height=0.5\textheight]{images/theme/upb.png} + \caption{Regular Image} + \label{fig:landscape_image} +\end{figure} + +\begin{table}[] + \centering + \begin{tabular}{|l|l|} + \hline + Column Name \#1 & Column Name \#2 \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + Entry & Entry \\ \hline + \end{tabular} + \caption{Table} + \label{tab:table} +\end{table} + +\begin{landscape} + \begin{figure}[!h] + \centering + \includegraphics[height=0.95\textheight]{images/theme/upb.png} + \caption{Full-Page Landscape Image} + \label{fig:landscape_image} + \end{figure} +\end{landscape} + +\end{document} \ No newline at end of file diff --git a/theses/iosifache/project/configuration/acronyms.tex b/theses/iosifache/project/configuration/acronyms.tex new file mode 100644 index 0000000..9f46f68 --- /dev/null +++ b/theses/iosifache/project/configuration/acronyms.tex @@ -0,0 +1 @@ +\acro{UPB}{University POLITEHNICA of Bucharest} \ No newline at end of file diff --git a/theses/iosifache/project/configuration/bibliography.bib b/theses/iosifache/project/configuration/bibliography.bib new file mode 100644 index 0000000..a5c2289 --- /dev/null +++ b/theses/iosifache/project/configuration/bibliography.bib @@ -0,0 +1,13 @@ +@article{article, + title={Lorem Ipsum: Dolor Sit Amet}, + author={John Doe}, + journal={ACME Journal}, + year={2023}, + publisher={ACME Corp} +} + +@misc{website, + title = {Website}, + howpublished = {\url{https://website.com}}, + note = {Accessed: 2023-07-01} +} \ No newline at end of file diff --git a/theses/iosifache/project/configuration/details.tex b/theses/iosifache/project/configuration/details.tex new file mode 100644 index 0000000..9209145 --- /dev/null +++ b/theses/iosifache/project/configuration/details.tex @@ -0,0 +1,17 @@ +\setdetailtitle{Lorem Ipsum: Dolor Sit Amet} + +\setdetailsubtitle{} + +\setdetailstudentname{John Doe} + +\setdetailadvisor{Jane Doe} + +\setdetailsecondaryadvisor{John Doe} + +\setdetailyear{2023} + +\setdetailabstractromanian{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Dignissim sodales ut eu sem integer vitae justo eget magna. Ultrices sagittis orci a scelerisque purus semper eget duis. Sit amet nulla facilisi morbi tempus iaculis urna id. Id faucibus nisl tincidunt eget nullam. Congue mauris rhoncus aenean vel elit scelerisque mauris. Nunc sed augue lacus viverra vitae congue. Sed viverra tellus in hac habitasse platea dictumst vestibulum. At varius vel pharetra vel turpis nunc eget lorem dolor. Tortor dignissim convallis aenean et tortor at. Diam in arcu cursus euismod quis viverra nibh. Sed vulputate odio ut enim blandit volutpat maecenas. Odio ut sem nulla pharetra diam sit amet nisl suscipit. Consectetur adipiscing elit duis tristique. Velit dignissim sodales ut eu.} + +\setdetailabstractenglish{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Dignissim sodales ut eu sem integer vitae justo eget magna. Ultrices sagittis orci a scelerisque purus semper eget duis. Sit amet nulla facilisi morbi tempus iaculis urna id. Id faucibus nisl tincidunt eget nullam. Congue mauris rhoncus aenean vel elit scelerisque mauris. Nunc sed augue lacus viverra vitae congue. Sed viverra tellus in hac habitasse platea dictumst vestibulum. At varius vel pharetra vel turpis nunc eget lorem dolor. Tortor dignissim convallis aenean et tortor at. Diam in arcu cursus euismod quis viverra nibh. Sed vulputate odio ut enim blandit volutpat maecenas. Odio ut sem nulla pharetra diam sit amet nisl suscipit. Consectetur adipiscing elit duis tristique. Velit dignissim sodales ut eu.} + +\setdetailacknowledgements{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Dignissim sodales ut eu sem integer vitae justo eget magna.} \ No newline at end of file diff --git a/theses/iosifache/project/configuration/terms.tex b/theses/iosifache/project/configuration/terms.tex new file mode 100644 index 0000000..d48a85e --- /dev/null +++ b/theses/iosifache/project/configuration/terms.tex @@ -0,0 +1,4 @@ +\newglossaryentry{thesis}{ + name=thesis, + description={a dissertation embodying results of original research and especially substantiating a specific view} +} \ No newline at end of file diff --git a/theses/iosifache/project/configuration/whole_words.tex b/theses/iosifache/project/configuration/whole_words.tex new file mode 100644 index 0000000..9aa00c1 --- /dev/null +++ b/theses/iosifache/project/configuration/whole_words.tex @@ -0,0 +1 @@ +\hyphenation{snippet} \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/_all.tex b/theses/iosifache/project/frontmatter/_all.tex new file mode 100644 index 0000000..f28cef5 --- /dev/null +++ b/theses/iosifache/project/frontmatter/_all.tex @@ -0,0 +1,17 @@ +\begin{frontmatter} + + \include{frontmatter/frontpage} + + \include{frontmatter/thanks} + + \include{frontmatter/abstracts} + + \setcounter{page}{1} + + \include{frontmatter/tocs} + + \include{frontmatter/glossary} + + \include{frontmatter/acronyms} + +\end{frontmatter} \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/abstracts.tex b/theses/iosifache/project/frontmatter/abstracts.tex new file mode 100644 index 0000000..71a3526 --- /dev/null +++ b/theses/iosifache/project/frontmatter/abstracts.tex @@ -0,0 +1,11 @@ +\thispagestyle{front} + +\begin{titlepage} + \textbf{\large ABSTRACT} \par + \detailabstractenglish + \vfill + + \textbf{\large SINOPSIS} \par + \detailabstractromanian + \vfill +\end{titlepage} \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/acronyms.tex b/theses/iosifache/project/frontmatter/acronyms.tex new file mode 100644 index 0000000..75d3b82 --- /dev/null +++ b/theses/iosifache/project/frontmatter/acronyms.tex @@ -0,0 +1,7 @@ +\thispagestyle{front} + +\textbf{\large ACRONYMS} \par + +\begin{acronym} + \input{configuration/acronyms} +\end{acronym} \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/frontpage.tex b/theses/iosifache/project/frontmatter/frontpage.tex new file mode 100644 index 0000000..11577f1 --- /dev/null +++ b/theses/iosifache/project/frontmatter/frontpage.tex @@ -0,0 +1,46 @@ +\newcommand{\frontPage}[6]{ + \begin{titlepage} + \begin{center} + {\Large #1} + \vspace{50pt} + \begin{tabular}{p{6cm}p{4cm}} + \includegraphics[scale=0.15]{images/theme/upb.png} & + \includegraphics[scale=0.5,trim={14cm 11cm 2cm 5cm},clip=true]{images/theme/cs.pdf} + \end{tabular} + + \vspace{105pt} + {\Huge #2} \\ + \vspace{40pt} + {\Large #3} \\ \vspace{0pt} + {\Large #4} \\ + \vspace{40pt} + {\LARGE \detailstudentname} \\ + \end{center} + \vspace{60pt} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}p{6cm}r} + &{\large\textbf{#5}}\vspace{10pt} \\ + &{\large \detailadvisor} + \end{tabular*} + \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}p{6cm}r} + &{\large \detailsecondaryadvisor} + \end{tabular*} + \vspace{20pt} + \begin{center} + {\large\textbf{\City}}\\ + \vspace{0pt} + {\normalsize \detailyear} + \end{center} + \end{titlepage} +} + +\newcommand{\UniTextEN}{ + UNIVERSITY POLITEHNICA OF BUCHAREST \\[\HeaderLineSpace] + FACULTY OF AUTOMATIC CONTROL AND COMPUTERS \\[\HeaderLineSpace] + COMPUTER SCIENCE AND ENGINEERING DEPARTMENT\\ +} +\newcommand{\DiplomaEN}{MASTER THESIS} +\newcommand{\City}{BUCHAREST} + +\newcommand{\frontPageEN}{\frontPage{\UniTextEN}{\DiplomaEN}{\detailtitle}{\detailsubtitle}{Thesis Advisors:}{\BucEN}} + +\frontPageEN \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/glossary.tex b/theses/iosifache/project/frontmatter/glossary.tex new file mode 100644 index 0000000..b2b8e91 --- /dev/null +++ b/theses/iosifache/project/frontmatter/glossary.tex @@ -0,0 +1,5 @@ +\thispagestyle{front} + +\input{configuration/terms} + +\printglossary[title={Glossary}] \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/thanks.tex b/theses/iosifache/project/frontmatter/thanks.tex new file mode 100644 index 0000000..0dc1313 --- /dev/null +++ b/theses/iosifache/project/frontmatter/thanks.tex @@ -0,0 +1,4 @@ +\begin{titlepage} + \textbf{\large ACKNOWLEDGEMENTS} \par + \detailacknowledgements +\end{titlepage} \ No newline at end of file diff --git a/theses/iosifache/project/frontmatter/tocs.tex b/theses/iosifache/project/frontmatter/tocs.tex new file mode 100644 index 0000000..6d9744e --- /dev/null +++ b/theses/iosifache/project/frontmatter/tocs.tex @@ -0,0 +1,16 @@ +\renewcommand*\contentsname{Table of Content} +\renewcommand*\listfigurename{List of Figures} +\renewcommand{\listtablename}{List of Tables} + +\begingroup +\linespread{1} +\tableofcontents +\endgroup + +\thispagestyle{front} + +\listoftables + +\thispagestyle{front} + +\listoffigures \ No newline at end of file diff --git a/theses/iosifache/project/images/theme/acs.png b/theses/iosifache/project/images/theme/acs.png new file mode 100644 index 0000000..0ff317f Binary files /dev/null and b/theses/iosifache/project/images/theme/acs.png differ diff --git a/theses/iosifache/project/images/theme/cs.pdf b/theses/iosifache/project/images/theme/cs.pdf new file mode 100644 index 0000000..3a10d4e Binary files /dev/null and b/theses/iosifache/project/images/theme/cs.pdf differ diff --git a/theses/iosifache/project/images/theme/upb.png b/theses/iosifache/project/images/theme/upb.png new file mode 100644 index 0000000..5822f52 Binary files /dev/null and b/theses/iosifache/project/images/theme/upb.png differ diff --git a/theses/iosifache/project/main.sty b/theses/iosifache/project/main.sty new file mode 100644 index 0000000..0a1dec6 --- /dev/null +++ b/theses/iosifache/project/main.sty @@ -0,0 +1,122 @@ +\ProvidesPackage{main} + +% Packages +\usepackage[printonlyused,withpage]{acronym} +\usepackage[titletoc, title]{appendix} +\usepackage{array} +\usepackage[romanian]{babel} +\usepackage{biblatex} +\usepackage{booktabs} +\usepackage[figurename=Figure]{caption} +\usepackage{chngcntr} +\usepackage{enumitem} +\usepackage{fancyhdr} +\usepackage[margin=2.54cm]{geometry} +\usepackage{glossaries} +\usepackage{graphicx} +\usepackage[bookmarks,unicode,hidelinks]{hyperref} +\usepackage[utf8]{inputenc} +\usepackage{listings} +\usepackage{lscape} +\usepackage{minted} +\usepackage{paralist} +\usepackage{subfig} +\usepackage{subfiles} +\usepackage{textcase} +\usepackage{titlesec} +\usepackage{url} +\usepackage{verbatim} + +% Language to use +\selectlanguage{english} + +\renewcommand\familydefault{\sfdefault} + +% Formatting chapters and (sub)*sections +\titleformat{\chapter}{\large\bfseries\MakeUppercase}{\thechapter}{2ex}{}[\vspace*{-1.5cm}] +\titleformat*{\section}{\large\bfseries} +\titleformat*{\subsection}{\large\bfseries} +\titleformat*{\subsubsection}{\large\bfseries} + +% Removing the chapter preffix from different elements +\counterwithout{figure}{chapter} +\counterwithout{table}{chapter} +\counterwithout{equation}{chapter} + +% Setting the spacing between lists' items to be 0 +\setlist{noitemsep} + +% Renaming other elements' captions +\captionsetup[table]{name=Table} +\renewcommand*\figurename{Figure} + +% Empty page style (no headers and gooters +\pagestyle{empty} + +% Clearing the content of headers +\lhead{}\chead{}\rhead{} + +% Clearing the content of footers +\lfoot{}\cfoot{\thepage}\rfoot{} + +% Setting the line spacing +\linespread{1.15} + +% Setting the indentation for paragraphs +\setlength\parindent{0pt} + +% Setting the vertical spacing between paragraphs +\setlength\parskip{.28cm} + +% Linking the bibliohraphy +\addbibresource{configuration/bibliography.bib} + +% Avoiding overflows in bibliography +\setcounter{biburlnumpenalty}{9000} +\setcounter{biburllcpenalty}{9000} +\setcounter{biburlucpenalty}{9000} + +% Page numbering +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} +\fancypagestyle{front}{ + \fancyfoot[C]{\small \thepage} +} +\pagestyle{front} +\fancypagestyle{plain}{ + \fancyfoot[C]{\small \thepage} +} +\newenvironment{frontmatter}{\pagenumbering{roman}}{\newpage \pagenumbering{arabic}} +\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{front}}} +\addtocontents{lof}{\protect\thispagestyle{front}} + +% Creating a spacing configuration for header elements +\newcommand{\HeaderLineSpace}{-0.25cm} + +% Glossaries +\makeglossaries + +% Details that can be configured +\newcommand{\detailabstractromanian}{} +\newcommand{\detailabstractenglish}{} +\newcommand{\detailtitle}{} +\newcommand{\detailsubtitle}{} +\newcommand{\detailstudentname}{} +\newcommand{\detailadvisor}{} +\newcommand{\detailsecondaryadvisor}{} +\newcommand{\detailyear}{} +\newcommand{\detailacknowledgements}{} + +% Commands used to set the above details +\newcommand{\setdetailtitle}[1]{\renewcommand{\detailtitle}{#1}} +\newcommand{\setdetailsubtitle}[1]{\renewcommand{\detailsubtitle}{#1}} +\newcommand{\setdetailstudentname}[1]{\renewcommand{\detailstudentname}{#1}} +\newcommand{\setdetailadvisor}[1]{\renewcommand{\detailadvisor}{#1}} +\newcommand{\setdetailsecondaryadvisor}[1]{\renewcommand{\detailsecondaryadvisor}{#1}} +\newcommand{\setdetailyear}[1]{\renewcommand{\detailyear}{#1}} +\newcommand{\setdetailabstractromanian}[1]{\renewcommand{\detailabstractromanian}{#1}} +\newcommand{\setdetailabstractenglish}[1]{\renewcommand{\detailabstractenglish}{#1}} +\newcommand{\setdetailacknowledgements}[1]{\renewcommand{\detailacknowledgements}{#1}} + +\include{configuration/details} +\include{configuration/whole_words} \ No newline at end of file diff --git a/theses/iosifache/project/main.tex b/theses/iosifache/project/main.tex new file mode 100644 index 0000000..98e325e --- /dev/null +++ b/theses/iosifache/project/main.tex @@ -0,0 +1,21 @@ +\documentclass[12pt,a4paper]{report} + +\usepackage{main} + +\begin{document} + +% Frontmatter + +\subfile{frontmatter/_all.tex} + +% Chapters + +\subfile{chapters/_all.tex} + +% Bibliography + +\chapter{Bibliography} + +\printbibliography[heading=none] + +\end{document} \ No newline at end of file