From 76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 15 Oct 2024 15:35:20 +0200 Subject: Rescue some slides from old private mono repos --- slides/2022-kll/.gitignore | 9 + slides/2022-kll/README | 4 + slides/2022-kll/beamercolorthemergd.sty | 28 ++ slides/2022-kll/beamerfontthemergd.sty | 9 + slides/2022-kll/beamerinnerthemergd.sty | 43 +++ slides/2022-kll/beamerouterthemergd.sty | 65 +++++ slides/2022-kll/beamerthemergd.sty | 23 ++ slides/2022-kll/img/cas.pdf | Bin 0 -> 19328 bytes slides/2022-kll/img/cas.svg | 450 ++++++++++++++++++++++++++++++++ slides/2022-kll/img/cas/digicert.svg | 17 ++ slides/2022-kll/img/cas/google.svg | 8 + slides/2022-kll/img/cas/le.svg | 38 +++ slides/2022-kll/img/cas/sectigo.svg | 25 ++ slides/2022-kll/img/cas/trustasia.svg | 68 +++++ slides/2022-kll/img/certificate.pdf | Bin 0 -> 26286 bytes slides/2022-kll/img/certificate.svg | 291 +++++++++++++++++++++ slides/2022-kll/img/crt.png | Bin 0 -> 92590 bytes slides/2022-kll/img/ct.pdf | Bin 0 -> 6973 bytes slides/2022-kll/img/ct.svg | 229 ++++++++++++++++ slides/2022-kll/img/fire.pdf | Bin 0 -> 6848 bytes slides/2022-kll/img/fire.svg | 223 ++++++++++++++++ slides/2022-kll/img/kau.png | Bin 0 -> 66309 bytes slides/2022-kll/img/lock.png | Bin 0 -> 62869 bytes slides/2022-kll/img/login.png | Bin 0 -> 49468 bytes slides/2022-kll/img/outline.pdf | Bin 0 -> 14917 bytes slides/2022-kll/img/outline.svg | 292 +++++++++++++++++++++ slides/2022-kll/main.tex | 25 ++ slides/2022-kll/slides.pdf | Bin 0 -> 320827 bytes slides/2022-kll/src/body.tex | 109 ++++++++ slides/2022-kll/src/preamble.tex | 113 ++++++++ slides/2022-kll/src/titlepage.tex | 3 + 31 files changed, 2072 insertions(+) create mode 100644 slides/2022-kll/.gitignore create mode 100644 slides/2022-kll/README create mode 100644 slides/2022-kll/beamercolorthemergd.sty create mode 100644 slides/2022-kll/beamerfontthemergd.sty create mode 100644 slides/2022-kll/beamerinnerthemergd.sty create mode 100644 slides/2022-kll/beamerouterthemergd.sty create mode 100644 slides/2022-kll/beamerthemergd.sty create mode 100644 slides/2022-kll/img/cas.pdf create mode 100644 slides/2022-kll/img/cas.svg create mode 100644 slides/2022-kll/img/cas/digicert.svg create mode 100644 slides/2022-kll/img/cas/google.svg create mode 100644 slides/2022-kll/img/cas/le.svg create mode 100644 slides/2022-kll/img/cas/sectigo.svg create mode 100644 slides/2022-kll/img/cas/trustasia.svg create mode 100644 slides/2022-kll/img/certificate.pdf create mode 100644 slides/2022-kll/img/certificate.svg create mode 100644 slides/2022-kll/img/crt.png create mode 100644 slides/2022-kll/img/ct.pdf create mode 100644 slides/2022-kll/img/ct.svg create mode 100644 slides/2022-kll/img/fire.pdf create mode 100644 slides/2022-kll/img/fire.svg create mode 100755 slides/2022-kll/img/kau.png create mode 100644 slides/2022-kll/img/lock.png create mode 100644 slides/2022-kll/img/login.png create mode 100644 slides/2022-kll/img/outline.pdf create mode 100644 slides/2022-kll/img/outline.svg create mode 100644 slides/2022-kll/main.tex create mode 100644 slides/2022-kll/slides.pdf create mode 100644 slides/2022-kll/src/body.tex create mode 100644 slides/2022-kll/src/preamble.tex create mode 100644 slides/2022-kll/src/titlepage.tex (limited to 'slides/2022-kll') diff --git a/slides/2022-kll/.gitignore b/slides/2022-kll/.gitignore new file mode 100644 index 0000000..d1e39cc --- /dev/null +++ b/slides/2022-kll/.gitignore @@ -0,0 +1,9 @@ +main.aux +main.fdb_latexmk +main.fls +main.log +main.nav +main.out +main.pdf +main.snm +main.toc diff --git a/slides/2022-kll/README b/slides/2022-kll/README new file mode 100644 index 0000000..ddf4d57 --- /dev/null +++ b/slides/2022-kll/README @@ -0,0 +1,4 @@ +My presentation of how I would have done a 2h lecture on PKI. Part of a +teaching course at Kau. + +Edit 2024-10-15: seems like there's some nit compiling now. diff --git a/slides/2022-kll/beamercolorthemergd.sty b/slides/2022-kll/beamercolorthemergd.sty new file mode 100644 index 0000000..e5d40d8 --- /dev/null +++ b/slides/2022-kll/beamercolorthemergd.sty @@ -0,0 +1,28 @@ +\mode + +%%% +% Color definitions +%%% +\RequirePackage{xcolor} +\definecolor{rgdGreen}{RGB}{33,114,106} +\definecolor{rgdYellow}{RGB}{255,210,4} +\definecolor{rgdOrange}{RGB}{232,114,12} +\colorlet{rgdGray}{gray!33} +\colorlet{rgdBlack}{black} + +\definecolor{sigsumWhite}{HTML}{FAF9F5} + +%%% +% Beamer colors +%%% +\setbeamercolor*{titlepage}{fg=rgdBlack} +\setbeamercolor*{author}{fg=rgdGreen} +\setbeamercolor*{date}{fg=black} +\setbeamercolor*{header}{bg=rgdYellow,fg=black} +\setbeamercolor*{trailer}{bg=rgdGray,fg=black} +\setbeamercolor*{item}{fg=rgdGreen} +\setbeamercolor*{alerted text}{fg=rgdGreen} + +\setbeamercolor*{background canvas}{bg=sigsumWhite} + +\mode diff --git a/slides/2022-kll/beamerfontthemergd.sty b/slides/2022-kll/beamerfontthemergd.sty new file mode 100644 index 0000000..a6d212c --- /dev/null +++ b/slides/2022-kll/beamerfontthemergd.sty @@ -0,0 +1,9 @@ +\mode + +\setbeamerfont{title}{size=\large,shape=\bfseries} +\setbeamerfont{subtitle}{size=\normalsize,shape=\bfseries} +\setbeamerfont{frametitle}{size=\large,shape=\bfseries} +\setbeamerfont{institute}{size=\small} +\setbeamerfont{date}{size=\small} + +\mode diff --git a/slides/2022-kll/beamerinnerthemergd.sty b/slides/2022-kll/beamerinnerthemergd.sty new file mode 100644 index 0000000..1c50b47 --- /dev/null +++ b/slides/2022-kll/beamerinnerthemergd.sty @@ -0,0 +1,43 @@ +\mode + +%%% +% Title page +%%% +\defbeamertemplate*{title page}{rgd}[1][]{ + \begin{tikzpicture}[remember picture, overlay] + \usebeamercolor{titlepage} + Add top-left triangle with university logo + \filldraw[draw=rgdGray,fill=rgdGray] + (current page.north west) -- + (current page.north) -- + node[draw=none,pos=0.5](LogoMul){\includegraphics[width=3.5cm]{img/kau}} + (current page.west) -- + (current page.north west); + % Add title + \node[ + text=fg, + text width=0.75\paperwidth, + ] (Title) at ([shift={(0,-0.5cm)}]current page){% + \centering\usebeamerfont{title}\inserttitle\\% + }; + % Add date + \node[ + text=fg, + text width=0.75\paperwidth, + below=0pt of Title, + ] (Subtitle) {% + \centering\usebeamerfont{date}\insertdate\\% + }; + % Add authors + \usebeamercolor{author} + \node[ + text=fg, + text width=0.75\paperwidth, + below=0pt of Subtitle, + ] (Author) {% + \centering\usebeamerfont{author}\insertauthor\\% + }; + \end{tikzpicture} +} + +\mode diff --git a/slides/2022-kll/beamerouterthemergd.sty b/slides/2022-kll/beamerouterthemergd.sty new file mode 100644 index 0000000..2b4ef3f --- /dev/null +++ b/slides/2022-kll/beamerouterthemergd.sty @@ -0,0 +1,65 @@ +\mode + +%%% +% Frame header +%%% +\defbeamertemplate*{frametitle}{corporate}[1][]{% + \nointerlineskip + % Add frame title + \begin{beamercolorbox}[ + wd=\paperwidth, + ht=3ex, + dp=1.5ex, + left, + leftskip=2ex + ]{header} + \insertframetitle + \end{beamercolorbox} + % Add line after header + \nointerlineskip + \begin{beamercolorbox}[ + wd=\paperwidth, + ht=0.25ex + ]{trailer} + \end{beamercolorbox}% +} + +%%% +% Frame trailer +%%% +\defbeamertemplate*{footline}{corporate}{% + \hbox{% + % Add metadata + \begin{beamercolorbox}[ + wd=0.50\paperwidth, + ht=2ex, + dp=0.5ex, + left, + leftskip=2ex + ]{trailer} + \hfill\url{www.rgdd.se}\hfill + \end{beamercolorbox}% + % Add title + \begin{beamercolorbox}[ + wd=0.45\paperwidth, + ht=2ex, + dp=0.5ex, + left, + leftskip=2ex + ]{header} + \hfill\insertsubtitle\hfill + \end{beamercolorbox}% + % Add page counter + \begin{beamercolorbox}[ + wd=0.05\paperwidth, + ht=2ex, + dp=0.5ex, + right, + rightskip=1ex + ]{header} + \insertframenumber/\inserttotalframenumber + \end{beamercolorbox}% + } +} + +\mode diff --git a/slides/2022-kll/beamerthemergd.sty b/slides/2022-kll/beamerthemergd.sty new file mode 100644 index 0000000..022ef2c --- /dev/null +++ b/slides/2022-kll/beamerthemergd.sty @@ -0,0 +1,23 @@ +\mode + +%%% +% Load beamer settings +%%% +\usecolortheme{rgd} +\usefonttheme{rgd} +\useinnertheme{rgd} +\useoutertheme{rgd} + +%%% +% Disable navigation tools on slides +%%% +\setbeamertemplate{navigation symbols}{} + +%%% +% Object styles +%%% +\setbeamertemplate{itemize item}[square] +\setbeamertemplate{itemize subitem}[default] +\setbeamertemplate{sections/subsections in toc}[square] + +\mode diff --git a/slides/2022-kll/img/cas.pdf b/slides/2022-kll/img/cas.pdf new file mode 100644 index 0000000..81c98d8 Binary files /dev/null and b/slides/2022-kll/img/cas.pdf differ diff --git a/slides/2022-kll/img/cas.svg b/slides/2022-kll/img/cas.svg new file mode 100644 index 0000000..ae6cf6d --- /dev/null +++ b/slides/2022-kll/img/cas.svg @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/slides/2022-kll/img/cas/digicert.svg b/slides/2022-kll/img/cas/digicert.svg new file mode 100644 index 0000000..32744c3 --- /dev/null +++ b/slides/2022-kll/img/cas/digicert.svg @@ -0,0 +1,17 @@ + + +DigiCert logo +A certificate authority that issue TLS certificates + + + + image/svg+xml + + + + + + + + + diff --git a/slides/2022-kll/img/cas/google.svg b/slides/2022-kll/img/cas/google.svg new file mode 100644 index 0000000..00fc2b3 --- /dev/null +++ b/slides/2022-kll/img/cas/google.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/slides/2022-kll/img/cas/le.svg b/slides/2022-kll/img/cas/le.svg new file mode 100644 index 0000000..8542216 --- /dev/null +++ b/slides/2022-kll/img/cas/le.svg @@ -0,0 +1,38 @@ + + + + + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/slides/2022-kll/img/cas/sectigo.svg b/slides/2022-kll/img/cas/sectigo.svg new file mode 100644 index 0000000..6bce9b8 --- /dev/null +++ b/slides/2022-kll/img/cas/sectigo.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/slides/2022-kll/img/cas/trustasia.svg b/slides/2022-kll/img/cas/trustasia.svg new file mode 100644 index 0000000..e44fbe2 --- /dev/null +++ b/slides/2022-kll/img/cas/trustasia.svg @@ -0,0 +1,68 @@ + + + 亚洲诚信logo + + + + + + + + \ No newline at end of file diff --git a/slides/2022-kll/img/certificate.pdf b/slides/2022-kll/img/certificate.pdf new file mode 100644 index 0000000..8352ac0 Binary files /dev/null and b/slides/2022-kll/img/certificate.pdf differ diff --git a/slides/2022-kll/img/certificate.svg b/slides/2022-kll/img/certificate.svg new file mode 100644 index 0000000..cb220eb --- /dev/null +++ b/slides/2022-kll/img/certificate.svg @@ -0,0 +1,291 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/slides/2022-kll/img/crt.png b/slides/2022-kll/img/crt.png new file mode 100644 index 0000000..2ba79b4 Binary files /dev/null and b/slides/2022-kll/img/crt.png differ diff --git a/slides/2022-kll/img/ct.pdf b/slides/2022-kll/img/ct.pdf new file mode 100644 index 0000000..cbbed4a Binary files /dev/null and b/slides/2022-kll/img/ct.pdf differ diff --git a/slides/2022-kll/img/ct.svg b/slides/2022-kll/img/ct.svg new file mode 100644 index 0000000..ac992bb --- /dev/null +++ b/slides/2022-kll/img/ct.svg @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Connector + Exit to or entry from another part of chart. + + + + + + + + + + + + + + + Logs + Monitors + Auditors + + diff --git a/slides/2022-kll/img/fire.pdf b/slides/2022-kll/img/fire.pdf new file mode 100644 index 0000000..475a06d Binary files /dev/null and b/slides/2022-kll/img/fire.pdf differ diff --git a/slides/2022-kll/img/fire.svg b/slides/2022-kll/img/fire.svg new file mode 100644 index 0000000..ecdc539 --- /dev/null +++ b/slides/2022-kll/img/fire.svg @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + + + + + + + + + diff --git a/slides/2022-kll/img/kau.png b/slides/2022-kll/img/kau.png new file mode 100755 index 0000000..0c7c885 Binary files /dev/null and b/slides/2022-kll/img/kau.png differ diff --git a/slides/2022-kll/img/lock.png b/slides/2022-kll/img/lock.png new file mode 100644 index 0000000..65e313e Binary files /dev/null and b/slides/2022-kll/img/lock.png differ diff --git a/slides/2022-kll/img/login.png b/slides/2022-kll/img/login.png new file mode 100644 index 0000000..f910d34 Binary files /dev/null and b/slides/2022-kll/img/login.png differ diff --git a/slides/2022-kll/img/outline.pdf b/slides/2022-kll/img/outline.pdf new file mode 100644 index 0000000..ad77aef Binary files /dev/null and b/slides/2022-kll/img/outline.pdf differ diff --git a/slides/2022-kll/img/outline.svg b/slides/2022-kll/img/outline.svg new file mode 100644 index 0000000..8270810 --- /dev/null +++ b/slides/2022-kll/img/outline.svg @@ -0,0 +1,292 @@ + + + + + + + + + + + + + + + + + + + + Keying + Operation using a key-driven device, e.g. typing. (IBM) + + + + + Certificates + Web PKI + CT logs + CT in practise + + + + + Conceptually,X.509 format,How to view + + Certificateauhtorities,DV/OV/EV + + Overall idea,Properties,RFC 6962 + + Policy,Limitations,Monitoring + + diff --git a/slides/2022-kll/main.tex b/slides/2022-kll/main.tex new file mode 100644 index 0000000..1ad5919 --- /dev/null +++ b/slides/2022-kll/main.tex @@ -0,0 +1,25 @@ +\pdfminorversion=4 +\documentclass[handout,aspectratio=169]{beamer} +%\documentclass[aspectratio=169]{beamer} +\usetheme{rgd} + +\input{src/preamble} + +\title{%full version that is shown on the front page + The web's public-key infrastructure +} +\subtitle{%short version that is shown in the footer on each slide + The web's public-key infrastructure +} +\author{% + \textbf{Rasmus Dahlberg}\\ + \texttt{rasmus.dahlberg@kau.se} +} +\date{% + \today +} + +\begin{document} + \input{src/titlepage} + \input{src/body} +\end{document} diff --git a/slides/2022-kll/slides.pdf b/slides/2022-kll/slides.pdf new file mode 100644 index 0000000..c0c4885 Binary files /dev/null and b/slides/2022-kll/slides.pdf differ diff --git a/slides/2022-kll/src/body.tex b/slides/2022-kll/src/body.tex new file mode 100644 index 0000000..495bb27 --- /dev/null +++ b/slides/2022-kll/src/body.tex @@ -0,0 +1,109 @@ +% +% Landing page +% - Recall TLS from last lecture +% - Encrypted tunnel between client-server +% - Authenticate client, server, or both; trust anchors hand-waved +% - Today is about how to authenticate servers in the web's PKI +% + +\begin{frame} + \mktitle{Are we really connected to the real Google?} + \begin{tikzpicture} + \node[draw=none] (Login) at (0,0) {\includegraphics[height=0.8\textheight]{img/login}};\pause + %\node[draw=none] (Lock) at (0,0) {\includegraphics[height=0.8\textheight]{img/lock}};\pause + \node[draw=none] (Licence) at (Login.170) {\includegraphics[height=0.2\textheight]{img/certificate}};\pause + \node[draw=none] (CAs) at (Login.10) {\includegraphics[height=0.2\textheight]{img/cas}}; + \node[draw=none,below=0cm of CAs] (Text) {...and many more};\pause + \node[draw=none,below=0cm of Text] (Fire) {\includegraphics[height=0.1\textheight]{img/fire}}; + \end{tikzpicture} + + \footnotetext[1]{\tiny{Summary of the DigiNotar incidence: \url{https://www.enisa.europa.eu/media/news-items/operation-black-tulip/} (2011)}} +\end{frame} + +\begin{frame} + \mktitle{Learning outcomes} + \begin{columns} + \begin{column}{0.33\textwidth} + \centering\includegraphics[width=\columnwidth]{img/certificate}\\ + \textbf{X.509 certificates}\\ + Format, fields, ... + \end{column} + + \pause + \begin{column}{0.33\textwidth} + \centering\includegraphics[width=\columnwidth]{img/cas}\\ + \textbf{Certificate Authorities}\\ + Ecosystem, validation, ... + \end{column} + + \pause + \begin{column}{0.33\textwidth} + \centering\includegraphics[width=\columnwidth]{img/ct}\\ + \textbf{Certificate Transparency}\\ + Theory, practise, ...\\ + \end{column} + \end{columns} + + \pause + \vfill\alert{Why is this useful for me?} + % 1. You will likely encounter websites in one form or another. A site + % that's not working due to certificate errors; you need to get your own + % certificate for your site; etc. What should you get, why, and how? + % What steps are expected to keep your site's certificate secure? + % 2. Next time we will generalize. The technology surrounding certificate + % transparency is useful for a myriad of applications. Firmware, Go + % modules, official documents, etc. +\end{frame} + +\begin{frame} + \mktitle{Middle part---Cronological} + \centering\includegraphics[width=\textwidth]{img/outline} +\end{frame} + +\begin{frame} + \mktitle{Middle part---Segway to the end} + + CT logs and monitoring $\rightarrow$ no undeteted DigiNotar-style attacks +\end{frame} + +\begin{frame} + \mktitle{Middle part---Example of engagement} + + \begin{description} + \item[]\textbf{Select all statements that are true:} + \item[$\square$] An X.509 certificate proves ownership of a website + \item[$\square$] An EV certificate is more secure than a DV certificate + \item[$\square$] Only Swedish CAs can issue \texttt{.se} certificates + \item[$\square$] There are hundreds of CAs across the globe + \end{description} +\end{frame} + +\begin{frame} + \mktitle{Take away} + \begin{columns} + \begin{column}{0.5\textwidth} + \begin{itemize} + \item X.509 certificates + \begin{itemize} + \item ``Driver's licence for websites'' + \item Am I connected to the right site? + \end{itemize} + \item Certificate Authorities (CAs) + \begin{itemize} + \item ``Transportstyrelsen for websites'' + \item DV/OV/EV validated certificates + \item Weakest-link security + \end{itemize} + \item Certificate Transparency (CT) + \begin{itemize} + \item Holds CAs accountable (detection) + \item Enforced by Chrome, Safari, Edge + \item Monitor your own websites + \end{itemize} + \end{itemize} + \end{column} + \begin{column}{0.5\textwidth} + \includegraphics[width=\columnwidth]{img/crt} + \end{column} + \end{columns} +\end{frame} diff --git a/slides/2022-kll/src/preamble.tex b/slides/2022-kll/src/preamble.tex new file mode 100644 index 0000000..4021351 --- /dev/null +++ b/slides/2022-kll/src/preamble.tex @@ -0,0 +1,113 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Packages % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage[utf8]{inputenc} + +\usepackage[ + lambda, advantage, operators, sets, adversary, landau, probability, notions, + logic, ff, mm, primitives, events, complexity, asymptotics, keys +]{cryptocode} + +\usepackage{rotate} +\usepackage{graphicx} +\usepackage{mathtools} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage{flowchart} +\usepackage{smartdiagram} +\usepackage{pifont} +\usepackage{wasysym} +\usepackage{graphicx} +\usepackage{color} +\usepackage{drawstack} +\usepackage{tikz} +\usepackage{tikz-qtree} +\usetikzlibrary{ + arrows,% + decorations.markings,% + backgrounds,% + calc,% + fit,% + positioning,% + shapes.misc,% + shadows,% + shapes.arrows,% + shapes,% + snakes,% +} +\usepackage{booktabs} +\usepackage{smartdiagram} +%\usepackage{floatrow}% this one causes error on arch for some reason +\usepackage[position=bottom]{subfig} % environment for nested figures + +\usepackage{xcolor} +\definecolor{darkGreen}{HTML}{008000} +\definecolor{darkBlue}{HTML}{2809B2} +\definecolor{darkRed}{HTML}{CC0000} +\definecolor{darkGray}{HTML}{808080} +\definecolor{darkOrange}{HTML}{D77D00} +\definecolor{darkPurple}{HTML}{800080} +\colorlet{lightGray}{gray!33} +\colorlet{lightYellow}{yellow!50} +\definecolor{darkGreen}{HTML}{008000} +\definecolor{darkBlue}{HTML}{2809B2} +\definecolor{darkRed}{HTML}{CC0000} + +\usepackage{hyperref} +\hypersetup{ + colorlinks = true, % Color links instead of boxes + urlcolor = darkBlue, % Color external hyper links + linkcolor = darkBlue, % Color internal links + citecolor = darkBlue, % Color citations +} + +% Figures, tables and code +\usepackage{booktabs} +\usepackage{colortbl} +\usepackage{flowchart} +\usepackage{adjustbox} +\usepackage{listings} + +\lstdefinestyle{CStyle}{ + backgroundcolor=\color{lightGray!25}, + commentstyle=\color{darkGreen}, + keywordstyle=\color{darkBlue}, + numberstyle=\tiny\color{darkRed}, + stringstyle=\color{darkPurple}, + basicstyle=\footnotesize, + breakatwhitespace=false, + breaklines=false, + captionpos=b, + keepspaces=true, + numbers=left, + numbersep=5pt, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=2, + language=C, + morekeywords={size_t,def,in,zip,True,False,ord,u8,u64}, +} + +\setbeamertemplate{itemize item}[circle] +\setbeamertemplate{itemize subitem}[default] +\setbeamertemplate{caption}[numbered] + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Defines % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\makeatletter +\let\@@magyar@captionfix\relax %needed for \titlefloatright +\makeatother + +\newcommand{\tyes}{\textcolor{darkGreen}{\ding{51}}} +\newcommand{\tno}{\textcolor{darkRed}{\ding{55}}} +\newcommand{\burl}[1]{\tiny{\url{#1}}} +\newcommand{\TODO}[1]{\textcolor{red}{TODO}: #1} +\newcommand{\floatright}[1]{\hspace{0pt plus 1 filll}#1$\;$} + +\def\rding{\rotatebox[origin=c]{-91}{\ding{224}}} +\def\lding{\rotatebox[origin=c]{91}{\ding{224}}} + +% TODO: fix this properly... +\newcommand{\mktitle}[1]{\centering\textbf{\large#1}\vfill\normalsize} diff --git a/slides/2022-kll/src/titlepage.tex b/slides/2022-kll/src/titlepage.tex new file mode 100644 index 0000000..9b18039 --- /dev/null +++ b/slides/2022-kll/src/titlepage.tex @@ -0,0 +1,3 @@ +\begin{frame} + \titlepage +\end{frame} -- cgit v1.2.3