Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions presentations/iosifache/README.md
Original file line number Diff line number Diff line change
@@ -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{<path_to_latex_file>}` 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

<a href="export.pdf">
<kbd>
<img src="preview.jpg" width="400px" alt="Preview">
</kbd>
</a>

## Contact

Please drop an email to `[email protected]` if you have any questions.
Binary file added presentations/iosifache/export.pdf
Binary file not shown.
Binary file added presentations/iosifache/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions presentations/iosifache/project/configuration.tex
Original file line number Diff line number Diff line change
@@ -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}
38 changes: 38 additions & 0 deletions presentations/iosifache/project/frames/cover.tex
Original file line number Diff line number Diff line change
@@ -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}
1 change: 1 addition & 0 deletions presentations/iosifache/project/frames/sections/_all.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\include{frames/sections/examples}
79 changes: 79 additions & 0 deletions presentations/iosifache/project/frames/sections/examples.tex
Original file line number Diff line number Diff line change
@@ -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}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions presentations/iosifache/project/main.sty
Original file line number Diff line number Diff line change
@@ -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<presentation>{
\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}
16 changes: 16 additions & 0 deletions presentations/iosifache/project/main.tex
Original file line number Diff line number Diff line change
@@ -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}
32 changes: 32 additions & 0 deletions theses/iosifache/README.md
Original file line number Diff line number Diff line change
@@ -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{<path_to_latex_file>}` 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

<a href="export.pdf">
<kbd>
<img src="preview.jpg" width="400px" alt="Preview">
</kbd>
</a>

## Contact

Please drop an email to `[email protected]` if you have any questions.
Binary file added theses/iosifache/export.pdf
Binary file not shown.
Binary file added theses/iosifache/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions theses/iosifache/project/chapters/_all.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
\pagestyle{plain}

\subfile{examples.tex}
81 changes: 81 additions & 0 deletions theses/iosifache/project/chapters/examples.tex
Original file line number Diff line number Diff line change
@@ -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}
1 change: 1 addition & 0 deletions theses/iosifache/project/configuration/acronyms.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\acro{UPB}{University POLITEHNICA of Bucharest}
13 changes: 13 additions & 0 deletions theses/iosifache/project/configuration/bibliography.bib
Original file line number Diff line number Diff line change
@@ -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}
}
Loading