initial commit

This commit is contained in:
Christian Clason 2021-04-12 14:32:37 +02:00
commit f7788809a3
6 changed files with 478 additions and 0 deletions

159
beamercolorthemekfu.sty Normal file
View file

@ -0,0 +1,159 @@
% Written by Kristan Bredies and Dirk Lorenz, 2005
% Christian Clason, 2014,2021
\mode<presentation>
\definecolor{hsk 15}{hsb}{.978,1,.89}
\definecolor{kfu}{RGB}{255,213,0}
\definecolor{nawi}{RGB}{6,120,180}
\definecolor{math}{RGB}{144,174,181}
\definecolor{model}{RGB}{204,167,108}
\definecolor{gray1}{gray}{0.85}
\definecolor{gray2}{gray}{0.70}
\definecolor{gray3}{gray}{0.50}
\definecolor{gray4}{gray}{0.20}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{alerted text}{fg=hsk 15}
\setbeamercolor{background canvas}{parent=normal text}
\setbeamercolor{background}{parent=background canvas}
\setbeamercolor{palette primary}{bg=kfu, fg=black}
\setbeamercolor{palette secondary}{bg=gray1, fg=black}
\setbeamercolor{palette tertiary}{bg=nawi, fg=black}
\setbeamercolor{palette quaternary}{bg=model, fg=black}
\setbeamercolor{palette sidebar primary}{use=palette primary}
\setbeamercolor{palette sidebar secondary}{use=palette secondary}
\setbeamercolor{palette sidebar tertiary}{use=palette tertiary}
\setbeamercolor{palette sidebar quaternary}{use=palette quaternary}
\setbeamercolor{math text}{}
\setbeamercolor{math text inlined}{parent=math text}
\setbeamercolor{math text displayed}{parent=math text}
\setbeamercolor{normal text in math text}{}
\setbeamercolor{structure}{fg=nawi}
\setbeamercolor{local structure}{parent=structure}
\setbeamercolor{titlelike}{parent=normal text}
\setbeamercolor{title}{parent=titlelike,bg=}
\setbeamercolor{title in head/foot}{parent=palette quaternary}
\setbeamercolor{title in sidebar}{parent=palette sidebar quaternary}
\setbeamercolor{subtitle}{parent=title}
\setbeamercolor{author}{}
\setbeamercolor{author in head/foot}{parent=palette primary}
\setbeamercolor{author in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}
\setbeamercolor{institute}{fg=gray3}
\setbeamercolor{institute in head/foot}{parent=palette tertiary}
\setbeamercolor{institute in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}
\setbeamercolor{date}{}
\setbeamercolor{date in head/foot}{parent=palette secondary}
\setbeamercolor{date in sidebar}{use=palette sidebar tertiary,fg=palette sidebar tertiary.fg}
\setbeamercolor{titlegraphic}{}
\setbeamercolor{part name}{}
\setbeamercolor{part title}{parent=titlelike}
\setbeamercolor{section in toc}{parent=structure}
% override beamer template since setting colors independently is not possible otherwise
\setbeamertemplate{section in head/foot}{\color{gray3}\insertsectionhead}
\setbeamertemplate{section in head/foot shaded}{\color{gray1}\insertsectionhead}
\setbeamercolor{section number projected}{parent=item projected}
\setbeamercolor{subsection in toc}{parent=structure}
\setbeamercolor{subsection in head/foot}{parent=palette secondary}
\setbeamercolor{subsection in sidebar}{parent=palette sidebar primary}
\setbeamercolor{subsection in sidebar shaded}{use=subsection in sidebar,fg=subsection in sidebar.fg!40!bg}
\setbeamercolor{subsection number projected}{parent={subitem projected}}
\setbeamercolor{headline}{}
\setbeamercolor{footline}{}
\setbeamercolor{sidebar}{}
\setbeamercolor{sidebar left}{parent=sidebar}
\setbeamercolor{sidebar right}{parent=sidebar}
\setbeamercolor{logo}{parent=palette secondary}
\setbeamercolor{frametitle}{parent=titlelike,bg=}
\setbeamercolor{framesubtitle}{parent=frametitle}
\setbeamercolor{frametitle right}{parent=frametitle}
\setbeamercolor{caption}{}
\setbeamercolor{caption name}{parent=structure}
\setbeamercolor{button}{use=local structure,bg=local structure.fg!50!bg,fg=white}
\setbeamercolor{button border}{use=button,fg=button.bg}
\setbeamercolor{navigation symbols}{use=palette quaternary,fg=palette quaternary.fg}
\setbeamercolor{navigation symbols}{fg=black,bg=white}
\setbeamercolor{navigation symbols dimmed}{use=palette tertiary,fg=palette tertiary.bg!50!fg}
\setbeamercolor{mini frame}{parent=section in head/foot}
\setbeamercolor{block body}{parent=palette secondary}
\setbeamercolor{block body alerted}{parent=block body}
\setbeamercolor{block body example}{parent=block body}
\setbeamercolor{block title}{parent=palette secondary, fg=}
\setbeamercolor{block title alerted}{use=block title,fg=alerted text.fg,bg=block title.bg}
\setbeamercolor{block title example}{use=block title,fg=example text.fg,bg=block title.bg}
\setbeamercolor{item}{use=palette primary, bg=palette primary.bg, fg=palette primary.bg}
\setbeamercolor{subitem}{parent=item}
\setbeamercolor{subsubitem}{parent=subitem}
\setbeamercolor{item projected}{fg=black, use=palette primary, bg=palette primary.bg}
\setbeamercolor{subitem projected}{parent=item projected}
\setbeamercolor{subsubitem projected}{parent=subitem projected}
\setbeamercolor{enumerate item}{parent=item}
\setbeamercolor{enumerate subitem}{parent=subitem}
\setbeamercolor{enumerate subsubitem}{parent=subsubitem}
\setbeamercolor{itemize item}{parent=item}
\setbeamercolor{itemize subitem}{parent=subitem}
\setbeamercolor{itemize subsubitem}{parent=subsubitem}
\setbeamercolor{itemize/enumerate body}{}
\setbeamercolor{itemize/enumerate subbody}{}
\setbeamercolor{itemize/enumerate subsubbody}{}
\setbeamercolor{description item}{parent=item}
\setbeamercolor{bibliography item}{parent=item}
\setbeamercolor{bibliography entry author}{use=structure,fg=structure.fg}
\setbeamercolor{bibliography entry title}{use=normal text,fg=normal text.fg}
\setbeamercolor{bibliography entry location}{use=structure,fg=structure.fg!65!bg}
\setbeamercolor{bibliography entry note}{use=structure,fg=structure.fg!65!bg}
\setbeamercolor{separation line}{}
\setbeamercolor{upper separation line head}{parent=separation line}
\setbeamercolor{middle separation line head}{parent=separation line}
\setbeamercolor{lower separation line head}{parent=separation line}
\setbeamercolor{upper separation line foot}{parent=separation line}
\setbeamercolor{middle separation line foot}{parent=separation line}
\setbeamercolor{lower separation line foot}{parent=separation line}
\setbeamercolor{abstract}{}
\setbeamercolor{abstract title}{parent=structure}
\setbeamercolor{verse}{}
\setbeamercolor{quotation}{}
\setbeamercolor{quote}{parent=quotation}
\setbeamercolor{page number in head/foot}{fg=gray3}
\setbeamercolor{qed symbol}{parent=structure}
\mode<all>

135
beamerouterthemekfu.sty Normal file
View file

@ -0,0 +1,135 @@
% Written by Kristian Bredies and Dirk Lorenz, 2005-2008
% Kristian Bredies, 2008-2009
% Christian Clason, 2014,2021
\newif\ifbeamer@theme@german
\DeclareOptionBeamer{german}{\beamer@theme@germantrue}
\ProcessOptionsBeamer
%% define fonts
\setbeamerfont{title}{series=\bfseries}
\setbeamerfont{titlelike}{parent=title}
\setbeamerfont{frametitle}{parent=title}
\setbeamerfont{framesubtitle}{parent=title}
\setbeamerfont{frametitle continuation}{parent=title}
\setbeamerfont{title in head/foot}{series=\mdseries}
\mode<presentation>
\ifbeamer@theme@german
\pgfdeclareimage[height=1cm]{kfu_logo}{kfulogo_de}
\else
\pgfdeclareimage[height=1cm]{kfu_logo}{kfulogo_en}
\fi
%% title slide: left-justified
\setbeamertemplate{title graphic}{
\vbox to 0pt {
\vspace*{2em}
\inserttitlegraphic%
}%
\nointerlineskip%
}
\setbeamertemplate{title}{
\raggedright%
\linespread{1.0}%
\inserttitle%
\par%
\vspace*{0.5em}
}
\setbeamertemplate{subtitle}{
\raggedright%
\insertsubtitle%
\par%
\vspace*{0.5em}
}
\setbeamertemplate{author}{
\vspace*{1em}
\insertauthor%
\par%
\vspace*{1em}
}
\setbeamertemplate{date}{
\vspace*{5mm}
\insertdate%
\par%
}
\setbeamertemplate{institute}{
\insertinstitute%
\par%
}
\setbeamertemplate{title page}{%
\parbox[b][1cm][c]{0.8925\paperwidth}{\hfill\pgfuseimage{kfu_logo}}
\vfill
\begin{minipage}[b][0.7\paperheight]{\textwidth}
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
\vfill%
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
\end{minipage}
\vfill
}
%% header
\defbeamertemplate*{frametitle}{kfu theme}[1][left]{
\@tempswafalse%
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\begin{beamercolorbox}[sep=0.3cm,#1,wd=\the\@tempdima]{frametitle}
\if@tempswa\else\csname beamer@fte#1\endcsname\fi{%
\usebeamerfont{frametitle}\insertframetitle\par}%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\par}%
\fi
}%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox... evil here...
{\color{kfu}\rule{0.9\paperwidth}{2pt}}
\vskip0.5mm
\end{beamercolorbox}%
\vskip-0.5cm%
}
%% footer
% sections and slide numbers in footer, no navigation symbols!
\def\beamer@theme@footline@section{%
\insertsectionnavigationhorizontal{.9\paperwidth}%
{}{\hskip0pt plus1filll}%
}
\def\beamer@theme@footline@number{%
{\usebeamercolor[fg]{page number in head/foot}\insertframenumber\,/\,\inserttotalframenumber}%
}
\defbeamertemplate*{navigation symbols}{ude theme}{}
\defbeamertemplate*{footline}{kfu theme}{%
\hspace*{3mm}{\color{gray2}\rule{0.9\paperwidth}{0.5pt}}
\vspace*{1ex}
\parbox[b]{.9\paperwidth}{%
\beamer@theme@footline@section%
}
\hfill
\parbox[b]{.1\paperwidth}{%
\hfill%
\beamer@theme@footline@number\hspace*{2mm}
}
\vspace*{1mm}
}
%% separate block head from body
\addtobeamertemplate{block begin}{}{%
{\usebeamercolor[white]{block title}{%
\vspace*{-2.5ex}%
\hspace*{-1ex}\rule{\paperwidth}{0.4pt}
}}
}
\mode<all>

55
beamerthemekfu.sty Normal file
View file

@ -0,0 +1,55 @@
% Written by Kristian Bredies and Dirk Lorenz, 2005
% Christian Clason, 2014,2021
\DeclareOptionBeamer{german}{\PassOptionsToPackage{german}{beamerouterthemekfu}}
\DeclareOptionBeamer{font}{\def\beamer@kfu@font{#1}}
\ExecuteOptionsBeamer{font=fira}
\ProcessOptionsBeamer
\usecolortheme{kfu}
\useoutertheme{kfu}
\useinnertheme{rectangles}
%% Fonts
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\usefonttheme{professionalfonts}
\def\beamer@kfu@fontfira{fira}
\def\beamer@kfu@fontmyriad{myriad}
\def\beamer@kfu@fontnoto{noto}
% MyriadPro for text and math (with fallback Euler for symbols)
\ifx\beamer@kfu@font\beamer@kfu@fontmyriad%
\RequirePackage{eulervm}
\RequirePackage[onlytext,lf]{MyriadPro}
\RequirePackage[LGRgreek,defaultmathsizes,italic,mathaccents]{mathastext}
\DeclareMathAlphabet\mathbb{U}{dsss}{m}{n}
\DeclareSymbolFont{euler}{U}{zeur}{m}{n}
\DeclareMathSymbol{\partial}{\mathord}{euler}{64}
\RequirePackage[scaled]{beramono}
\fi
% Noto Sans for text, Noto Math for math (requires texlive2021)
\ifx\beamer@kfu@font\beamer@kfu@fontnoto%
\usepackage[sfdefault,mono,scale=0.95,pf,osf,vvarbb]{notomath}
\fi%
% default: Fira Sans for text and newtxsf for math
\ifx\beamer@kfu@font\beamer@kfu@fontfira%
\usepackage[sfdefault,vvarbb,scaled=0.95]{notomath}
\usepackage[book,medium,scaled=0.85,sfdefault]{FiraSans}
\RequirePackage[scaled=0.85]{FiraMono}
\fi%
\frenchspacing
\RequirePackage[kerning,spacing]{microtype}
% define some standard environments
\newenvironment{bleq} % block equation
{ \begin{beamercolorbox}{block body}\begin{equation}}%
{ \end{equation} \end{beamercolorbox} }
\newenvironment{nbleq}[1] % named block equation
{\begin{beamercolorbox}{block title}\parbox[c][3.25ex]{\textwidth}{\usebeamerfont{block title}~#1\vphantom{pT}}\end{beamercolorbox}%
\vspace*{-0.2mm}\begin{beamercolorbox}{block body}\begin{equation}}%
{\end{equation}\end{beamercolorbox}}
\mode<all>

129
kfubeamer.tex Normal file
View file

@ -0,0 +1,129 @@
\documentclass[leqno]{beamer}
% KFU theme: font=fira (default), noto, myriad (requires separate install)
\usetheme[font=fira]{kfu}
\usepackage[centercolon]{mathtools}
\mathtoolsset{showonlyrefs,showmanualtags}
\renewcommand{\phi}{\varphi}
\newcommand{\eps}{\varepsilon}
\newcommand{\N}{\mathbb{N}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\1}{\mathbb{1}}
\newcommand{\calF}{\mathcal{F}}
\newcommand{\calG}{\mathcal{G}}
\newcommand{\calI}{\mathcal{I}}
\newcommand{\calJ}{\mathcal{J}}
\newcommand{\calA}{\mathcal{A}}
\newcommand{\calC}{\mathcal{C}}
\newcommand{\calS}{\mathcal{S}}
\newcommand{\scalprod}[1]{\langle #1 \rangle}
\newcommand{\norm}[1]{\| #1 \|}
\newcommand{\set}[2]{\left\{#1:#2\right\}}
\DeclareMathOperator{\sign}{\mathsf{sign}}
\DeclareMathOperator{\dom}{\mathsf{dom}}
\DeclareMathOperator{\ran}{\mathsf{ran}}
\newcommand{\half}{\frac{1}{2}}
\renewcommand{\phi}{\varphi}
\DeclareMathOperator{\Id}{\mathsf{Id}}
\newcommand{\prox}{\mathsf{prox}}
\newcommand{\proj}{\mathsf{proj}}
\newcommand{\supp}{\mathsf{supp}}
%======================================================================
\title{On an interesting equation}
\subtitle{A nice talk for a nice audience}
\author{%
\textbf{Christian Clason}\inst{1}
\and
Someone Else\inst{2}
}
\institute{%
\inst{1}Institute of Mathematics and Scientific Computing, University of Graz\\
\inst{2}Faculty of Mathematics, University of Somewhere Else
}
\date{%
\structure{24th Interesting Conference 2021}\\
ZOOM, The Cloud, April 1, 2021
}
\begin{document}
%======================================================================
\frame[plain]{\titlepage}
\begin{frame}[plain]{Acknowledgments}
Your logo here!
\end{frame}
\section{Overview}
\begin{frame}[t]{Motivation}
\vfill
\begin{bleq}
1+1 = 2
\end{bleq}
\medskip
\textbf{Standard questions:}
\begin{enumerate}
\item does this \structure{make sense} \\
$\leadsto$ philosophy of mathematics
\item is it \structure{correct} \\
$\leadsto$ logic
\item does it \structure{hold for other numbers} \\
$\leadsto$ algebra
\end{enumerate}
\textbf{Current research:}
\begin{itemize}
\item $1$ \structure{unnatural number}
\item $=$ \structure{inexact}
\end{itemize}
\end{frame}
\frame[plain]{\tableofcontents}
\section{Philosophy}
\section{Logic}
\section{Algebra}
\section{Conclusion}
\frame[plain]{\tableofcontents[currentsection]}
\begin{frame}{Conclusion}
\textbf{The equation}
\begin{itemize}
\item \structure{makes sense}
\item is \structure{correct}
\item holds \structure{for unnatural numbers}
\end{itemize}
\bigskip
\textbf{Outlook:}
\smallskip
\begin{itemize}
\item extension to \structure{surreal numbers}
\smallskip
\item \structure{numerical evaluation}
\end{itemize}
\vfill
\structure{Preprint, codes:} \\
{\small \url{https://mathematik.uni-graz.at}}
\end{frame}
\end{document}
%=====================================================================

BIN
kfulogo_de.pdf Normal file

Binary file not shown.

BIN
kfulogo_en.pdf Normal file

Binary file not shown.