From e479b7da71fcf42a82323401ecc85f2c3aa02216 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 5 Mar 2022 13:59:22 +0100 Subject: [PATCH] add optional sponsor logos on title frame --- README.md | 2 +- beamerouterthemekfu.sty | 13 +++++++++++++ beamerthemekfu.sty | 2 ++ kfubeamer.tex | 32 +++++--------------------------- 4 files changed, 21 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 7485880..ffcbf1b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # KFUbeamer: LaTeX template for presentations in KFU corporate design This repository contains LaTeX sources (based on `beamer`) for -presentations following roughly the current (April 2021) version +presentations following roughly the current (March 2022) version of the Corporate Design manual of the University of Graz. This template allows customizing the used fonts through diff --git a/beamerouterthemekfu.sty b/beamerouterthemekfu.sty index 91b64ad..6afa3bd 100644 --- a/beamerouterthemekfu.sty +++ b/beamerouterthemekfu.sty @@ -22,6 +22,9 @@ \pgfdeclareimage[height=1cm]{kfu_logo}{kfulogo_en} \fi +\def\sponsorlogos{} +\newcommand{\sponsors}[1]{\def\sponsorlogos{#1}} + %% title slide: left-justified \setbeamertemplate{title graphic}{ \vbox to 0pt { @@ -59,6 +62,16 @@ \par% } \setbeamertemplate{title page}{% + \ifx\sponsorlogos\@empty\else% + \begin{tikzpicture}[remember picture,overlay] + \node[anchor=south east,yshift=3pt,xshift=-6pt] at (current page.south east) {% + \foreach \img in \sponsorlogos {% + \hspace{.5ex}% + \includegraphics[height=0.66cm]{\img}% + }% + };% + \end{tikzpicture}% + \fi% \parbox[b][1cm][c]{0.8925\paperwidth}{\hfill\pgfuseimage{kfu_logo}} \vfill \begin{minipage}[b][0.7\paperheight]{\textwidth} diff --git a/beamerthemekfu.sty b/beamerthemekfu.sty index f44094c..2763ba7 100644 --- a/beamerthemekfu.sty +++ b/beamerthemekfu.sty @@ -43,6 +43,8 @@ \frenchspacing \RequirePackage[kerning,spacing]{microtype} +\RequirePackage{tikz} + % define some standard environments \newenvironment{bleq} % block equation { \begin{beamercolorbox}{block body}\begin{equation}}% diff --git a/kfubeamer.tex b/kfubeamer.tex index 7a2c67e..5351da4 100644 --- a/kfubeamer.tex +++ b/kfubeamer.tex @@ -5,31 +5,6 @@ \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} @@ -48,10 +23,13 @@ } \date{% - \structure{24th Interesting Conference 2021}\\ - ZOOM, The Cloud, April 1, 2021 + \structure{25th Interesting Conference 2022}\\ + ZOOM, The Cloud, April 1, 2022 } +% optional: list of sponsor logos: comma-separated list of image file names +% \sponsors{Nawi_Graz_Logo_2015,Nawi_Graz_Logo_2015,Nawi_Graz_Logo_2015} + \begin{document} %======================================================================