This Project aims to provide a clean and good-looking presentation template in a 16:9 widescreen format.
It is based on the KOMA-Script Presentation from latextemplates.org, that was designed by Marius Hofert and Markus Kohm.
Table of contents:
Text variables that are used to define common strings used throughout the presentation.
Name | Meaning | Used in |
---|---|---|
mytitle |
Presentation title | Title slide |
runninghead |
Header text | Slide footer |
myauthor |
Author(s)/Presenter(s) name | Title slide and slide footer |
mydate |
Date of presentation | Title slide |
myuni |
University or institution | Title slide and slide footer |
myfac |
Faculty | Title slide |
mysubj |
Subject | N/A |
mysup |
Supervisor | N/A |
Name | Meaning | Used in |
---|---|---|
preslang |
Language of the presentation | babel |
secnumdepth |
Depth of Table of contents | main.tex |
tocdepth |
Depth of section numbering | main.tex |
Can be used to color text with \cprimary{text to color in primary}
or with \color{<name>}
to set a color anywhere in the document.
Name | Meaning | Used in |
---|---|---|
cprimary |
Primary Color | Header, Footer, Title slide |
csecondary |
Secondary Color | N/A |
chighlight |
Highlight Color | N/A |
- Title Slide
- Table of Contents
- Presentation Slides
- Section 1
- Section 2
- ...
- Final Slide
- References
The title and final slide are located in the Base
folder.
All sections can be placed into the Sections/
-folder and included with \input{Sections/sectionX.tex}
at the end of the main.tex
.
The file Sections/SectionX
is an empty template, to use it replace X
with the correct number. Also update the label (\label{sectionX}
) and the running head ref (\renewcommand*{\runninghead}{\nameref{sectionX}}
).
To document source code, the listings
-package can be used. The full documentation can be found here.
Sample listing:
\begin{lstlisting}[
caption={Sample PHP Listing},
label={lst:sample},
language=PHP,
float=!h
]
public function renderView($view, $args = [])
{
$template = $this->templatePath . "/views/" . $view . '.twig';
if (!file_exists($template)) {
$this->return->failReason = 'Could not find template.';
$this->send();
die();
}
$html = $this->render($template, $args);
return $html;
}
\end{lstlisting}
- Get rid of package
tocstyle
due to various warnings and incompatibilities - Include
titletoc
for partial ToCs at section start- -> replacing
tocstyle
features - Add sample of partial ToC of subsections only at section start
- -> replacing
- Check if needed features of
titlesec
can be replaced by KOMA standard features - Package
scrpage2
is obsolete; replace withscrlayer-scrpage
- Fix margins to fit new paper size
- Fix listing centering (only caption gets centered)
- Improve title and final slide
- Include package list and links to documentation into README
- Add examples
- Text + small figure with minipages
- Two figures on a slide
- Add custom itemize symbols
- Test
\hypersetup{pdfpagemode=FullScreen}
for automatic full screen
This template is licensed under the Creative Commons CC BY-NC-SA 4.0 license (see also the LICENSE file)