LaTeX Template for Presentations
================================

*ATTENTION:* This template still has some issues with the fonts and equation symbols. If you have legacy slides, they cannot directly be reused due to different paper size. You can still use the old slide template, which now also has the looks of the new template.

This package serves as a template for presentations in the [Corporate Design of KIT](https://kit-cd.sts.kit.edu/praesentationen.php) (version from February 2025).

It is modified from the template developed by the research group [DSiS](https://dsis.kastel.kit.edu) at the KIT Faculty of Computer Science and is based on [LaTeX Beamer](https://ctan.org/pkg/beamer).
See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen

Modified by: [Dr.-Ing. Hedongliang Liu]

Compile the `introduction.tex` to see an example.

# Usage

## `Options` for the "CELbeamer" document class
------------------------------------------
The font size in the footer is set larger by default than in the PowerPoint template. This can be enforced to match the original specification using the `smallfoot` option.

| Footer font size         | Option               |
| ---------------------    | -------------------- |
| slightly larger (12pt)   | `bigfoot` (default)  |
| KIT specification (11pt) | `smallfoot`          |

German and English are available as languages. The language selection automatically sets the appropriate formats (e.g., quotation marks, date).

| Language  | Option          |
| --------- | --------------- |
| German    | `de`            |
| English   | `en`  (default) |

Slide titles are set in Helvetica. If you want Franklin Gothic for everything, you can define this.

| Title font        | Option                |
| ----------------- | --------------------- |
| Franklin Gothic   | `franklin`            |
| Helvetica         | `helvet`  (default)   |

### Other options
- The navigation bar in the footer can be enabled using the `navbaron` option.

- With the `kitgrid` option, the grid of the slides can be displayed.

- The `handout` option turns off the animations. Multiple slides for the same frame will be shown on one slide, or according to the commands in the animation instructions. 
E.g., `\only<2|handout:0>{This is not shown in handout mode.}`, `\item<1-|handout:2>{This shows only on the second slide of the frame in the handout mode.}`

- The `spaceforface` option leaves extra space on the right-hand-side of the frame to put presenter's video. The width of the space can be adjusted by changing the <width> in \setlength{\spaceforface}{<width>} in `CELbeamer.cls`.

- The `overviewatsection` option displays the table of contents at each section. Only subsections of the current section is shown.

- The `showsubsectionsatfirstoverview` option shows all the subsections at the first overview. This requires `overviewatsection` option.

Example: `\documentclass[de, navbaron, kitgrid, handout, overviewatsection]{CELbeamer}`

## Title Slide
Setup: `\begin{frame}[title white vertical, picture=images/...., fundings=]`

The image on the title slide can be set with the `picture=` option. For vertical layouts, the image fits the height; for horizontal layouts, it fits the width.

Additionally, for horizontal layouts, you can choose the color of the KIT logo.

| KIT logo color | Frame Option             |
| -------------- | ------------------------ |
| colored        | `kitlogo=rgb`            |
| white          | `kitlogo=white`          |
| black          | `kitlogo=black`          |

Example: `\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=black]`

## Special Slides
### Table of content
For tables of contents, you can specify the option `tableofcontents=<color>`, where `color` can be either `blue` or `green`. The table of contents will then be shown on a fully colored slide.

### Image slides
There are also special layouts for divider slides with large images. You can select them using frame options.

| Vertical image share: | Frame Option                   |
| --------------------- | ------------------------------ |
| 33%                   | `picture 33 vertical`          |
| 50%                   | `picture 50 vertical`          |
| 66%                   | `picture 66 vertical`          |
| arbitrary             | `picture vertical=<value in %>`|

The image is set with the option `picture=<path>`, where `path` must be given relative to the main document.

Logo and Name of Department/KIT Faculty/Institute
-------------------------------------------------

The logo at the bottom right of the title slide can be set with the following command:

`\grouplogo{mylogo}` (without file extension)

To use your own logo, place the file (e.g., `mylogo.pdf`) in the `logos/` directory and adjust the command. If no logo should be included, use `\grouplogo{}`.

The group name can be set with the following command:

`\groupname{Communication Engineering Lab}`

The group name appears in the footer at the bottom right. Long names will be wrapped into two lines. If the group name is left empty (`\groupname{}`), the full width of the footer will be used for author names and title.

The default width of the group name is 89 mm. It can be changed with

`\groupnamewidth{120mm}`

which also adjusts the width of the author and title text field accordingly. Line breaks are possible with `\\`. Instead of two-line footers, the `smallfoot` option may be preferable.

General LaTeX
-------------
See https://sdq.kastel.kit.edu/wiki/LaTeX

Directory Structure
===================
`presentation.tex`
------------------
Main file of the LaTeX document.

`presentation.bib`
------------------
Sample file for BibTeX references  
https://sdq.kastel.kit.edu/wiki/BibTeX-Literaturlisten

`CELbeamer.cls`
---------------
Document class for CEL presentations in KIT design.

`preambles/packages.tex`
-----------------------
A TeX file to load all the necessary packages. Current version inherient from the old (before 2025) CEL beamer template.

`preambles/macros.tex`
--------------------
A TeX file containing some commonly used macros.
`introduction.tex` includes examples of some predefiend macros.

`logos/`
--------
This directory contains the KIT, CEL, and funding logos in various color variants as PDF.

`images/`
---------
This directory contains the background image for the title slide as JPG.

`CHANGELOG.md`
--------------
Documentation of changes in each version.

`README.md`
-----------
This file.