added CEL reference style

This commit is contained in:
Hedongliang Liu
2025-08-22 18:31:30 +02:00
committed by Andrej Rode
parent 9714b5478a
commit 5f999031b9
12 changed files with 78 additions and 2385 deletions

View File

@@ -31,28 +31,23 @@
$\hfill \textcolor{kit-green}{\rule{2mm}{2mm}}$
\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%% Notes page with grid lines
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put a page with grid lines for live notes
% #1 is an index associated with the page, to be used with \refnotes{#1}
% #2 is the title of the notes page
\newcommand{\pagesNotes}[2]{
% \bgroup
\begin{frame}[c, shrink]{\ifgerman{Notizen}\else{Notes}\fi}{#2}
% [c] means centered, [t] means top-aligned, [b] means bottom-aligned
% [shrink] means to shrink the content to fit the frame
% #1 is an index associated with the page, to be used with \notes{#1}
\newcommand{\pagesNotes}[1]{
\bgroup
\begin{frame}[c, shrink]{\ifgerman{Notizen}\else{Notes}\fi}
\label{pagesNotes:#1}
\vspace*{0.2ex}\hspace*{0ex}
%
\begin{tikzpicture}
%\draw[lightgray, line width = .0 mm, step=.25] (0,0) grid (18.5,7);
[domain=0:1,scale=3.6]%
\draw[very thin,color=white!70!gray,xstep=0.1,ystep=0.1] (0,0) grid (8.71, 3.61);%
\end{tikzpicture}
% \end{center}
\end{frame}
% \egroup
\egroup
}
% Command for showing that some notes will be taken (blackboard, slides,...)
% #1 is the label for the page of the note
@@ -65,40 +60,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% References on bottom of slide
\newcommand{\addreference}[1]{%
\scriptsize\textcolor{kit-green}{
\begin{tabular}{lp{0.88\columnwidth}}
\supercite{#1} & {\fullcite{#1}}
% \supercite{#1} & {#2}
\end{tabular}}%
}
\makeatletter
\newcommand{\addreferences}{%
\begin{scriptsize}
\begin{tabular}{lp{0.88\textwidth}}
\@addreferencesi
}
\newcommand\@addreferencesi{
\@ifnextchar\stopreferences{\@addreferencesend}{\@addreferencesii}
}
\newcommand\@addreferencesii[1]{%
\textcolor{kit-green100}{\supercite{#1}} & {\fullcite{#1}} \\
\@addreferencesi % restart the recursion
}
\newcommand\@addreferencesend[1]{% The argument is \stopimages
\end{tabular}
\end{scriptsize}
}
\makeatother
\newcommand{\citereference}[1]{\textcolor{kit-green}{\scriptsize\textbf{\supercite{#1}}}}
\newcommand{\citereferencewhite}[1]{\textcolor{white}{\textbf{\scriptsize\textbf{\supercite{#1}}}}}
% Add reference in the footnote - buggy: when the last reference has two lines, the slide will split into two slides, one only has the title and one only has the content.
\newcommand{\footaddreference}[2]{%
\newcommand{\addreference}[2]{%
% \nomarkfootnote{%
% \begin{minipage}[t]{0.1\linewidth}
% \scriptsize\textcolor{kit-green}{[#1]}
@@ -120,6 +82,9 @@
\fi%
}%
}
\newcommand{\citereference}[1]{\textcolor{kit-green}{\textbf{\scriptsize{[#1]}}}}
\newcommand{\citereferencewhite}[1]{\textcolor{white}{\textbf{\scriptsize{[#1]}}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%% Math macros

View File

@@ -8,7 +8,6 @@
% Math stuff
\usepackage{amsmath,amssymb,amsthm}
\usepackage{mathtools} % extends amsmath
\usepackage{bbm}
\usepackage{dsfont} % more blackboard bold symbols like digits and lowercase letters
\usepackage{bm} % bold math symbols
@@ -25,15 +24,6 @@
\presetkeys{todonotes}{color=kit-yellow50}{} % make todos box color yellow by default
\presetkeys{todonotes}{textcolor=kit-red}{} % make todos textcolor red by default
% biblatex
\usepackage[style=ieee-alphabetic, hyperref,backend=bibtex, mincitenames=1, maxcitenames=4,language=english,giveninits=true]{biblatex}
% \usepackage[citestyle=authoryear,bibstyle=numeric,hyperref,backend=biber, minnames=3, maxnames=3,indexing=true,language=english,giveninits=true]{biblatex}
% \setbeamercolor{bibliography item}{fg=KITgreen}
\setbeamercolor{bibliography entry title}{fg=kit-green}
\setbeamercolor{bibliography entry author}{fg=kit-green}
\setbeamercolor{bibliography entry location}{fg=kit-green}
\setbeamercolor{bibliography entry note}{fg=kit-green}
% Links in pdf
\usepackage[depth=4,open,openlevel=2]{bookmark}
@@ -59,11 +49,9 @@
% TikZ and stuff
\usepackage{tikz, pgfplots}
\pgfplotsset{compat=newest}
\usetikzlibrary{arrows,calc,fit,matrix,positioning,shapes,shadows,trees,mindmap,tikzmark,arrows.meta,angles,quotes,babel}
\tikzstyle{every picture}+=[remember picture]
\usetikzlibrary{arrows.meta, shapes.multipart, backgrounds, decorations.pathmorphing, patterns}
% option for pre-comiling tikz