initialize the repo for new CEL slide template

This commit is contained in:
Hedongliang Liu 2025-08-12 16:08:15 +02:00 committed by Andrej Rode
parent 68a7642008
commit b022765596
3 changed files with 1743 additions and 149 deletions

173
.gitignore vendored
View File

@ -1,5 +1,6 @@
# Created by https://www.toptal.com/developers/gitignore/api/latex,python,visualstudiocode,texstudio,emacs
# Edit at https://www.toptal.com/developers/gitignore?templates=latex,python,visualstudiocode,texstudio,emacs
# Created by https://www.toptal.com/developers/gitignore/api/latex,visualstudiocode,texstudio,emacs,vim
# Edit at https://www.toptal.com/developers/gitignore?templates=latex,visualstudiocode,texstudio,emacs,vim
### Emacs ###
# -*- mode: gitignore; -*-
@ -75,10 +76,6 @@ flycheck_*.el
# *.ps
# *.eps
# *.pdf
prediction_error.wav
signal_predicted.wav
## Generated if empty string is given at "Please type another file name for output:"
.pdf
@ -347,153 +344,32 @@ TSWLatexianTemp*
# glossaries
*.glstex
### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log
# Translations
*.mo
*.pot
# Django stuff:
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
doc/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*
commlab_env*
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# profiling data
.prof
#!! ERROR: texstudio is undefined. Use list command to see defined gitignore types !!#
### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
### VisualStudioCode Patch ###
@ -501,5 +377,4 @@ dmypy.json
.history
.ionide
# End of https://www.toptal.com/developers/gitignore/api/latex,python,visualstudiocode,texstudio,emacs
*.cpc
# End of https://www.toptal.com/developers/gitignore/api/latex,visualstudiocode,texstudio,emacs,vim

447
presentation.tex Normal file
View File

@ -0,0 +1,447 @@
%% Example presentation with CEL LaTeX template in KIT-Design
%% Modified from the KIT-Design by SDQ in February 2025
%% See https://sdq.kastel.kit.edu/wiki/Dokumentvorlagen
%% Modified by: Hedongliang Liu
%% Last modified on: 12.08.2025
%% Beispiel-Präsentation
\documentclass[en, helvet]{sdqbeamer}
%% default options: bigfoot (12pt), de, franklin
%% other options: smallfoot (11pt), navbaroff, kitgrid
%% Gruppenlogo, muss im Verezeichnis logos/ liegen
%% falls kein Gruppenlogo gewünscht, bitte \grouplogo{} aufrufen
\grouplogo{sdqlogo}
%% Gruppenname und Breite (Standard: 89 mm)
\groupname{Software Design and Quality}
%\groupnamewidth{89mm}
% Beginn der Präsentation
\title[CEL-Slide-template]{Presentation with \emph{CEL} template}
\subtitle{based on the KIT-Design in February 2025}
\author[Doe \& Liu]{\underline{Jone Doe} and Hedongliang Liu}
\date[12.\,8.\,2025]{12. August 2025}
% Literatur
\usepackage[citestyle=authoryear,bibstyle=numeric,hyperref,backend=biber]{biblatex}
\addbibresource{presentation.bib}
\bibhang1em
\usepackage{lipsum}
\begin{document}
%Titelseite
\begin{frame}[title white vertical, picture=images/palladio_bauplan]
\titlepage
\end{frame}
\begin{frame}[title blue vertical, picture=images/palladio_bauplan]
\titlepage
\end{frame}
\begin{frame}[title green horizontal, picture=images/palladio_bauplan, kitlogo=white]
\titlepage
\end{frame}
\begin{frame}[title white horizontal, picture=images/palladio_bauplan, kitlogo=white]
\titlepage
\end{frame}
%Inhaltsverzeichnis
\begin{frame}[tableofcontents=green]{Inhaltsverzeichnis}
\tableofcontents
\end{frame}
\begin{frame}[tableofcontents=blue]{Inhaltsverzeichnis}
\tableofcontents
\end{frame}
\section{Erster Abschnitt}
\subsection{Inhaltselemente}
\begin{frame}{Blöcke}{in den KIT-Farben}
\begin{columns}
\column{\kittwocolumns}
\begin{greenblock}{Greenblock}
Standard (\texttt{block})
\end{greenblock}
\column{\kittwocolumns}
\begin{royalblueblock}{Royalblueblock}
= \texttt{exampleblock}
\end{royalblueblock}
\column{\kittwocolumns}
\begin{redblock}{Redblock}
= \texttt{alertblock}
\end{redblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{grayblock}{Grayblock}
Text
\end{grayblock}
\column{\kittwocolumns}
\begin{lightgrayblock}{Lightgrayblock}
Text
\end{lightgrayblock}
\column{\kittwocolumns}
\begin{blueblock}{Blueblock}
Text
\end{blueblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{brownblock}{Brownblock}
Text
\end{brownblock}
\column{\kittwocolumns}
\begin{purpleblock}{Purpleblock}
Text
\end{purpleblock}
\column{\kittwocolumns}
\begin{cyanblock}{Cyanblock}
Text
\end{cyanblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{yellowblock}{Yellowblock}
Text
\end{yellowblock}
\column{\kittwocolumns}
\begin{lightgreenblock}{Lightgreenblock}
Text
\end{lightgreenblock}
\column{\kittwocolumns}
\begin{orangeblock}{Orangeblock}
Text
\end{orangeblock}
\end{columns}
\begin{columns}
\column{\kittwocolumns}
\begin{contentblock}{Contentblock}
(farblos)
\end{contentblock}
\column{\kittwocolumns}
\column{\kittwocolumns}
\end{columns}
\end{frame}
\begin{frame}{Auflistungen}
Text
\begin{itemize}
\item Auflistung\\ Umbruch
\item Auflistung
\begin{itemize}
\item Auflistung
\item Auflistung
\end{itemize}
\end{itemize}
\begin{enumerate}
\item Aufzählung
\item Aufzählung
\item Aufzählung
\end{enumerate}
\end{frame}
\begin{frame}{Spalten}
\begin{columns}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kitcolumn}
\begin{grayhighlightbox}
Ich bin ein Blindtext.
\end{grayhighlightbox}
\column{\kitcolumn}
\begin{lightgrayhighlightbox}
Ich bin ein Blindtext.
\end{lightgrayhighlightbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitcolumn}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kittwocolumns}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kittwocolumns}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\column{\kittwocolumns}
\begin{grayhighlightbox}
Ich bin ein Blindtext.
\end{grayhighlightbox}
\end{columns}
\vspace{1em}
\begin{columns}
\column{\kitthreecolumns}
\begin{standardbox}
Ich bin ein Blindtext.
\end{standardbox}
\column{\kitthreecolumns}
\begin{highlightbox}
Ich bin ein Blindtext.
\end{highlightbox}
\end{columns}
\end{frame}
\begin{frame}{Spalten}
\begin{columns}
\column{\kitfourcolumns}
\includegraphics[width=\linewidth, trim={0 2cm 0 2cm}, clip]{images/palladio_bauplan.jpg}
\column{\kittwocolumns}
\begin{standardbox}
Beschreibung
\end{standardbox}
\vspace{1em}
\begin{highlightbox}
Dies ist ein Bauplan der berühmten Villa Rotonda.
\end{highlightbox}
\vspace{1em}
\begin{grayhighlightbox}
Foto: Klaus Krogmann
\end{grayhighlightbox}
\end{columns}
\end{frame}
\section{Spezialframes}
\begin{frame}[picture 66 vertical,picture=images/palladio_bauplan,kitlogo=black]{Folie mit Bild auf $\frac{2}{3}$ Größe}
\lipsum[1][1-8]
\end{frame}
\begin{frame}[picture 50 vertical,picture=images/palladio_bauplan,kitlogo=black]{Folie mit Bild auf halber Größe}
\lipsum[1][1-16]
\end{frame}
\begin{frame}[picture 33 vertical,picture=images/palladio_bauplan,kitlogo=white]{Folie mit Bild auf $\frac{1}{3}$ Größe}
\begin{columns}
\column{\kittwocolumns}
\lipsum[1][1-8]
\column{\kittwocolumns}
\lipsum[1][1-8]
\end{columns}
\end{frame}
\begin{frame}[picture vertical=20,picture=images/palladio_bauplan,kitlogo=white]{Folie mit Bild auf variabler Größe (20 \%)}
\lipsum[1][1-16]
\end{frame}
\section{Titel-/Fußzeile}
\begin{frame}
Bei Frames ohne Titel wird die Kopfzeile nicht angezeigt, und
der freie Platz kann für Inhalte genutzt werden.
\end{frame}
\begin{frame}[plain]
Bei Frames mit Option \texttt{[plain]} werden weder Kopf- noch Fußzeile angezeigt.
\end{frame}
\begin{frame}[t]{Beispielinhalt}
Bei Frames mit Option \texttt{[t]} werden die Inhalte nicht vertikal zentriert, sondern an der Oberkante begonnen.
\end{frame}
\begin{frame}{Beispielinhalt: Literatur}
Literaturzitat: \cite{klare2021jss}
\end{frame}
\appendix
\beginbackup
\begin{frame}{Literatur}
\begin{exampleblock}{Backup-Teil}
Folien, die nach \texttt{\textbackslash beginbackup} eingefügt werden, zählen nicht in die Gesamtzahl der Folien.
\end{exampleblock}
\printbibliography
\end{frame}
\section{Farben}
%% ----------------------------------------
%% | Test-Folie mit definierten Farben |
%% ----------------------------------------
\begin{frame}{Farbpalette}
\newcommand{\csq}{\strut\hskip1.2em}
\begin{tabular}{rccccccccccccc}
& 100 & 90 & 80 & 70 & 60 & 50 & 40 & 30 & 25 & 20 & 15 & 10 & 5\\
% GREEN
kit-green
& \colorbox{kit-green100}{\csq}
& \colorbox{kit-green90}{\csq}
& \colorbox{kit-green80}{\csq}
& \colorbox{kit-green70}{\csq}
& \colorbox{kit-green60}{\csq}
& \colorbox{kit-green50}{\csq}
& \colorbox{kit-green40}{\csq}
& \colorbox{kit-green30}{\csq}
& \colorbox{kit-green25}{\csq}
& \colorbox{kit-green20}{\csq}
& \colorbox{kit-green15}{\csq}
& \colorbox{kit-green10}{\csq}
& \colorbox{kit-green5}{\csq}\\[.5em]
% BLUE
kit-royalblue
& \colorbox{kit-royalblue100}{\csq}
& \colorbox{kit-royalblue90}{\csq}
& \colorbox{kit-royalblue80}{\csq}
& \colorbox{kit-royalblue70}{\csq}
& \colorbox{kit-royalblue60}{\csq}
& \colorbox{kit-royalblue50}{\csq}
& \colorbox{kit-royalblue40}{\csq}
& \colorbox{kit-royalblue30}{\csq}
& \colorbox{kit-royalblue25}{\csq}
& \colorbox{kit-royalblue20}{\csq}
& \colorbox{kit-royalblue15}{\csq}
& \colorbox{kit-royalblue10}{\csq}
& \colorbox{kit-royalblue5}{\csq}\\[.5em]
% BLUE
kit-blue
& \colorbox{kit-blue100}{\csq}
& \colorbox{kit-blue90}{\csq}
& \colorbox{kit-blue80}{\csq}
& \colorbox{kit-blue70}{\csq}
& \colorbox{kit-blue60}{\csq}
& \colorbox{kit-blue50}{\csq}
& \colorbox{kit-blue40}{\csq}
& \colorbox{kit-blue30}{\csq}
& \colorbox{kit-blue25}{\csq}
& \colorbox{kit-blue20}{\csq}
& \colorbox{kit-blue15}{\csq}
& \colorbox{kit-blue10}{\csq}
& \colorbox{kit-blue5}{\csq}\\[.5em]
% RED
kit-red
& \colorbox{kit-red100}{\csq}
& \colorbox{kit-red90}{\csq}
& \colorbox{kit-red80}{\csq}
& \colorbox{kit-red70}{\csq}
& \colorbox{kit-red60}{\csq}
& \colorbox{kit-red50}{\csq}
& \colorbox{kit-red40}{\csq}
& \colorbox{kit-red30}{\csq}
& \colorbox{kit-red25}{\csq}
& \colorbox{kit-red20}{\csq}
& \colorbox{kit-red15}{\csq}
& \colorbox{kit-red10}{\csq}
& \colorbox{kit-red5}{\csq}\\[.5em]
% GREY
kit-gray
& \colorbox{kit-gray100}{\csq}
& \colorbox{kit-gray90}{\csq}
& \colorbox{kit-gray80}{\csq}
& \colorbox{kit-gray70}{\csq}
& \colorbox{kit-gray60}{\csq}
& \colorbox{kit-gray50}{\csq}
& \colorbox{kit-gray40}{\csq}
& \colorbox{kit-gray30}{\csq}
& \colorbox{kit-gray25}{\csq}
& \colorbox{kit-gray20}{\csq}
& \colorbox{kit-gray15}{\csq}
& \colorbox{kit-gray10}{\csq}
& \colorbox{kit-gray5}{\csq}\\[.5em]
% Orange
kit-orange
& \colorbox{kit-orange100}{\csq}
& \colorbox{kit-orange90}{\csq}
& \colorbox{kit-orange80}{\csq}
& \colorbox{kit-orange70}{\csq}
& \colorbox{kit-orange60}{\csq}
& \colorbox{kit-orange50}{\csq}
& \colorbox{kit-orange40}{\csq}
& \colorbox{kit-orange30}{\csq}
& \colorbox{kit-orange25}{\csq}
& \colorbox{kit-orange20}{\csq}
& \colorbox{kit-orange15}{\csq}
& \colorbox{kit-orange10}{\csq}
& \colorbox{kit-orange5}{\csq}\\[.5em]
% lightgreen
kit-lightgreen
& \colorbox{kit-lightgreen100}{\csq}
& \colorbox{kit-lightgreen90}{\csq}
& \colorbox{kit-lightgreen80}{\csq}
& \colorbox{kit-lightgreen70}{\csq}
& \colorbox{kit-lightgreen60}{\csq}
& \colorbox{kit-lightgreen50}{\csq}
& \colorbox{kit-lightgreen40}{\csq}
& \colorbox{kit-lightgreen30}{\csq}
& \colorbox{kit-lightgreen25}{\csq}
& \colorbox{kit-lightgreen20}{\csq}
& \colorbox{kit-lightgreen15}{\csq}
& \colorbox{kit-lightgreen10}{\csq}
& \colorbox{kit-lightgreen5}{\csq}\\[.5em]
% Brown
kit-brown
& \colorbox{kit-brown100}{\csq}
& \colorbox{kit-brown90}{\csq}
& \colorbox{kit-brown80}{\csq}
& \colorbox{kit-brown70}{\csq}
& \colorbox{kit-brown60}{\csq}
& \colorbox{kit-brown50}{\csq}
& \colorbox{kit-brown40}{\csq}
& \colorbox{kit-brown30}{\csq}
& \colorbox{kit-brown25}{\csq}
& \colorbox{kit-brown20}{\csq}
& \colorbox{kit-brown15}{\csq}
& \colorbox{kit-brown10}{\csq}
& \colorbox{kit-brown5}{\csq}\\[.5em]
% Purple
kit-purple
& \colorbox{kit-purple100}{\csq}
& \colorbox{kit-purple90}{\csq}
& \colorbox{kit-purple80}{\csq}
& \colorbox{kit-purple70}{\csq}
& \colorbox{kit-purple60}{\csq}
& \colorbox{kit-purple50}{\csq}
& \colorbox{kit-purple40}{\csq}
& \colorbox{kit-purple30}{\csq}
& \colorbox{kit-purple25}{\csq}
& \colorbox{kit-purple20}{\csq}
& \colorbox{kit-purple15}{\csq}
& \colorbox{kit-purple10}{\csq}
& \colorbox{kit-purple5}{\csq}\\[.5em]
% Cyan
kit-cyan
& \colorbox{kit-cyan100}{\csq}
& \colorbox{kit-cyan90}{\csq}
& \colorbox{kit-cyan80}{\csq}
& \colorbox{kit-cyan70}{\csq}
& \colorbox{kit-cyan60}{\csq}
& \colorbox{kit-cyan50}{\csq}
& \colorbox{kit-cyan40}{\csq}
& \colorbox{kit-cyan30}{\csq}
& \colorbox{kit-cyan25}{\csq}
& \colorbox{kit-cyan20}{\csq}
& \colorbox{kit-cyan15}{\csq}
& \colorbox{kit-cyan10}{\csq}
& \colorbox{kit-cyan5}{\csq}\\[.5em]
\end{tabular}
\end{frame}
%% ----------------------------------------
%% | /Test-Folie mit definierten Farben |
%% ----------------------------------------
\backupend
\end{document}

1272
sdqbeamer.cls Normal file

File diff suppressed because it is too large Load Diff