slides-preamble.tex (2270B)
1 \mode<handout>{% 2 \usepackage{pgfpages}% 3 \pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm]% 4 \pgfpageslogicalpageoptions{1}{border code=\pgfusepath{stroke}}% 5 \pgfpageslogicalpageoptions{2}{border code=\pgfusepath{stroke}}% 6 %\pgfpageslogicalpageoptions{3}{border code=\pgfusepath{stroke}} 7 %\pgfpageslogicalpageoptions{4}{border code=\pgfusepath{stroke}} 8 }% 9 10 \usepackage{booktabs} 11 12 \usepackage{caption} 13 \captionsetup[figure]{labelformat=empty} 14 15 \usepackage{colortbl} 16 \usepackage{tikz} 17 18 \usetikzlibrary{arrows} 19 \usetikzlibrary{arrows.meta} 20 \usetikzlibrary{decorations.markings} 21 \usetikzlibrary{positioning} 22 \usetikzlibrary{shapes} 23 24 \graphicspath{{build/}{graphics/slides/}} 25 26 \include{math} 27 \include{org} 28 29 % tikz helper macros 30 \definecolor{markBlue}{HTML}{40C0F0} 31 \definecolor{markRed}{HTML}{E5C6C5} 32 \definecolor{markBlueFg}{HTML}{226680} 33 \newcommand*{\circleemph}[2]{% 34 \begin{tikzpicture}[baseline=(#1tmp.base),remember picture] 35 \node[fill=none,inner sep=0mm] (#1tmp) {$\phantom{#2}$};% 36 \node[overlay,ellipse, fill=markBlue!50, inner xsep=0mm, inner ysep=0.5mm] (#1) at (#1tmp) {$#2$};% 37 \end{tikzpicture} 38 } 39 \newcommand*{\rectemph}[2]{% 40 \begin{tikzpicture}[baseline=(#1tmp.base),remember picture] 41 \node[fill=none,inner sep=0mm] (#1tmp) {$\displaystyle\phantom{#2}$};% 42 \node[overlay,rectangle,fill=none,ultra thick,draw=none, inner xsep=0.5mm, inner ysep=1mm] (#1) at (#1tmp) {$\displaystyle#2$};% 43 \end{tikzpicture} 44 } 45 \newcommand*{\fillrectemph}[2]{% 46 \begin{tikzpicture}[baseline=(#1tmp.base),remember picture] 47 \node[fill=none,inner sep=0mm] (#1tmp) {$\displaystyle\phantom{#2}$};% 48 \node[overlay,rectangle,fill=markRed,ultra thick,draw=none, inner xsep=0mm, inner ysep=0.5mm] (#1) at (#1tmp) {$\displaystyle#2$};% 49 \end{tikzpicture} 50 } 51 52 % down arrow 53 \newcommand*{\spbuArrow}{% 54 \mode<presentation>{% 55 \begin{center}% 56 \begin{tikzpicture}[scale=1]% 57 \draw[ 58 -triangle 90, 59 very thick, 60 double, 61 double equal sign distance, 62 draw=spbuWhite2, 63 fill=spbuWhite2 64 ] 65 (0,0.1) -- (0,0); 66 \end{tikzpicture}% 67 \end{center}% 68 }% 69 } 70 71 \newcommand*{\spbuSlide}[1]{% 72 \clearpage% 73 \pagebreak% 74 %\vspace{1cm}% 75 \begin{center}% 76 \includeslide[width=\textwidth]{#1}% 77 \end{center}% 78 } 79 80 \mode<article>{\renewcommand*{\section}[1]{}} 81 82 \AtBeginSection[]{\frame{\sectionpage}}