diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty new file mode 100644 index 00000000000..05f6c2c01e8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/beamerinnerthemeuantwerpen.sty @@ -0,0 +1,108 @@ +%% +%% This is file `beamerinnerthemeuantwerpen.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% uantwerpendocs.dtx (with options: `bmrinner') +%% +%% This is a generated file. +%% +%% Copyright (C) 2013-2021 by Walter Daems <walter.daems@uantwerpen.be> +%% +%% This work may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Walter Daems. +%% +\def\fileversion{3.2} +\def\filedate{2021/03/23} + + +\mode<presentation> + +\setlength\parskip{0.5\baselineskip} +\setlength\parindent{0em} + +\setbeamertemplate{sections/subsections in toc}[square] +\setbeamertemplate{itemize items}[square] + + +\newif\if@noround +\@noroundfalse + +\newcommand\uantwerpenleftshape[3][]{ + \newcommand\mycradius{0.05*(\getlength{\paperheight}-1.6)}% + \coordinate (bl) at #2; + \coordinate (tr) at #3; + \if@noround + \path[#1] (bl) rectangle (tr); + \else + \path[#1] (bl|-tr) -- (tr) -- (bl-|tr) -- ($(bl)+({\mycradius},0)$) + arc(-90:-180:{\mycradius}) -- cycle; + \fi +} +\newcommand\uantwerpenrightshape[3][]{ + \newcommand\mycradius{0.05*(\getlength{\paperheight}-1.6)}% + \coordinate (bl) at #2; + \coordinate (tr) at #3; + \if@noround + \path[#1] (bl) rectangle (tr); + \else + \path[#1] (bl|-tr) -- (tr) -- ($(bl-|tr)+(0,{\mycradius})$) + arc(0:-90:{\mycradius}) -- (bl) -- cycle; + \fi +} + +\newcommand\darken[2][0.5]{% + \begin{tikzpicture}[inner sep=0pt,outer sep=0pt] + \node (a) {#2}; + \fill[fill=black,opacity=#1] (a.south west) rectangle (a.north east); + \end{tikzpicture} +} + +\newcommand\uantwerpencallout[4][]{ + \begin{tikzpicture} + \uantwerpenleftshape[fill=black,fill opacity=0.0,text opacity=1,text=white,#1]{({-#2/2},-{#3/2})}{({#2/2},{#3/2})} + \node[align=left,anchor=center] at (0,0) { \callout\\ #4 }; + \end{tikzpicture} +} + +\newcommand\callout[1][scale=0.70711]{ + \begin{tikzpicture}[#1] + \fill[maincolor] (0.4,0) -- (0.5,0) -- (0.75,-0.15) -- (0.75,0) -- + (0.9,0) arc(-90:0:0.1) -- (1,0.65) arc(0:90:0.1) -- (0.1,0.75) arc + (90:180:0.1) -- (0,0.1) arc(-180:-90:0.1) -- cycle; + \foreach \x in {0.35,0.7} { + \begin{scope}[shift={(\x,0.425)},scale=0.25] + \fill[white] (0,0) circle[radius=0.5]; + \fill[white] (0.5,0) arc(0:-90:1) -- + (-0.5,-0.725) arc(-90:0:0.725) -- cycle; + \end{scope} + } + \end{tikzpicture} +} + +\newcommand\uantwerpenicon[1][scale=1]{ + \includegraphics[#1]{\iconfile} +} + +\newcommand\heading[1]{\par{\usebeamercolor{\maybeinverse heading}\color{fg}{\small\bfseries #1~}}} +\newcommand\subheading[1]{\par{ + \usebeamercolor{\maybeinverse + subheading}\color{fg}{\footnotesize\it\bfseries #1~}}} + +\mode +<all> +\endinput +%% +%% End of file `beamerinnerthemeuantwerpen.sty'. |