├── README.md ├── beamercolorthememinflat.sty ├── beamerfontthememinflat.sty ├── beamerthememinflat.sty ├── gfx ├── horizontallift.pdf └── uni_lu_logo_gr.jpg ├── minflat.pdf └── minflat.tex /README.md: -------------------------------------------------------------------------------- 1 | # minflat-beamer 2 | 3 | The minflat theme is a Beamer theme in modern flat design, i.e. emphasising a minimal yet functional design, primarily designed for mathematical talks. You can choose between two color schemes. A blue violet and a red purple variant. Corresponding colours used are green for the progress bar (and examples) and orange for alert elements. 4 | 5 | Just have a look at the [demo slides][]. Here is a little apéritif: 6 | 7 | ![Sample](http://robert.tractatus.info/minflat/aperitif.jpg) 8 | 9 | ## Installation 10 | 11 | 1. **Download** via a `git clone` the [minflat repository](https://github.com/vipowueb/minflat-beamer) or as a [zip archive](https://github.com/vipowueb/minflat-beamer/archive/master.zip) of the latest version. 12 | 13 | 2. **Move the `*.sty` files** to the folder containing your presentation. To use minflat with globally, move the `*.sty` files to a folder /path/to/texlive/texmf-local/tex/latex in your TeX path instead (might require `sudo` rights). 14 | 15 | 4. **Use the theme for your presentation** by declaring `\usetheme{minflat}` in the preamble of your Beamer document. Please note the options in the manual. 16 | 17 | 18 | ## Usage 19 | 20 | Detailed information can be found in the [manual][]. 21 | 22 | ## License 23 | 24 | The theme itself is licensed under a [Creative Commons Attribution-ShareAlike 25 | 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). This 26 | means that if you change the theme and re-distribute it, you *must* retain the 27 | copyright notice header and license it under the same CC-BY-SA license. This 28 | does not affect the presentation that you create with the theme. 29 | 30 | 31 | [demo slides]: https://github.com/vipowueb/minflat-beamer/blob/master/minflat.pdf 32 | [manual]: https://github.com/vipowueb/minflat-beamer/blob/master/minflat.pdf 33 | -------------------------------------------------------------------------------- /beamercolorthememinflat.sty: -------------------------------------------------------------------------------- 1 | % ----------------------------------------------------------------------------- % 2 | % Copyright 2016-2017 Robert Baumgarth The project is hosted on % 3 | % % 4 | % https://github.com/vipowueb/minflat-beamer % 5 | % % 6 | % Version: 1.0 % 7 | % Mail: robert@tractatus.info % 8 | % Website: http://math.uni.lu/~baumgarth/, % 9 | % http://robert.tractatus.info % 10 | % % 11 | % This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 % 12 | % International License (https://creativecommons.org/licenses/by-sa/4.0/). % 13 | % ----------------------------------------------------------------------------- % 14 | \ProvidesPackage{beamercolorthememinflat} 15 | 16 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 17 | %%%% OPTIONS 18 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 19 | \newif\if@beamer@theme@purple 20 | \@beamer@theme@purplefalse 21 | \DeclareOptionBeamer{purple}{\@beamer@theme@purpletrue} 22 | 23 | \ProcessOptionsBeamer 24 | 25 | 26 | \if@beamer@theme@purple 27 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 28 | %%% define customary color theme 29 | %%% (red)purple 30 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 31 | \definecolor{darkpurple}{RGB}{137,57,94} 32 | \definecolor{beamergreen}{RGB}{57,137,100} 33 | \definecolor{beamerorange}{RGB}{255,175,0} 34 | \else 35 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 36 | %%% define customary color theme 37 | %%% blue-violet 38 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 39 | \definecolor{darkpurple}{RGB}{76,61,122}%100,0,152} 40 | \definecolor{beamergreen}{RGB}{61,122,76} 41 | \definecolor{beamerorange}{RGB}{255,175,0} 42 | \fi 43 | 44 | 45 | \definecolor{progressbar green}{RGB}{150,198,23} 46 | 47 | \setbeamercolor{normal text}{fg=black!95!white} 48 | \setbeamercolor{alerted text}{fg=beamerorange} 49 | \setbeamercolor{example text}{fg=beamergreen} 50 | 51 | \definecolor{section head color}{RGB}{255,255,255} 52 | \setbeamercolor*{titlelike}{fg=darkpurple} 53 | \setbeamercolor*{frametitle}{fg=normal text.fg} 54 | \setbeamercolor{subtitle}{fg=normal text.fg} 55 | 56 | \setbeamercolor{structure}{fg=darkpurple} 57 | \setbeamercolor*{palette primary}{use=structure,fg=white,bg=structure.fg} 58 | \setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg!85!black} 59 | \setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg!50!black} 60 | \setbeamercolor*{palette quaternary}{fg=white,bg=black} 61 | 62 | \definecolor{nocolor}{RGB}{255,255,255} 63 | \definecolor{lowOpacity}{RGB}{110,110,110} 64 | %\setbeamercolor{section in head/foot}{fg=white,bg=black} 65 | %\setbeamertemplate{section in head/foot shaded}{\colorbox{blue}{\usebeamertemplate{section in head/foot}}} 66 | 67 | \setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg!85!black} 68 | \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg} 69 | %\setbeamercolor{block body}{bg=normal text.bg!90!black} 70 | 71 | \setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg}%!85!black} 72 | \setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!10!bg} 73 | 74 | \setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg!85!black} 75 | \setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!10!bg} 76 | 77 | \setbeamercolor{progress bar}{bg=white} 78 | \setbeamercolor{progress bar progress}{use=progress bar,bg=progressbar green} 79 | \setbeamercolor{purple bar}{use=structure,bg=structure.fg} 80 | 81 | 82 | \mode -------------------------------------------------------------------------------- /beamerfontthememinflat.sty: -------------------------------------------------------------------------------- 1 | % ----------------------------------------------------------------------------- % 2 | % Copyright 2016-2017 Robert Baumgarth The project is hosted on % 3 | % % 4 | % https://github.com/vipowueb/minflat-beamer % 5 | % % 6 | % Version: 1.0 % 7 | % Mail: robert@tractatus.info % 8 | % Website: http://math.uni.lu/~baumgarth/, % 9 | % http://robert.tractatus.info % 10 | % % 11 | % This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 % 12 | % International License (https://creativecommons.org/licenses/by-sa/4.0/). % 13 | % ----------------------------------------------------------------------------- % 14 | \ProvidesPackage{beamerfontthememinflat} 15 | 16 | \usepackage[protrusion=true]{microtype} 17 | \usepackage{polyglossia} 18 | \setdefaultlanguage{german} 19 | 20 | \usefonttheme{professionalfonts} 21 | \usepackage{fontspec,unicode-math} 22 | \setsansfont[Scale=.75,Ligatures={TeX},BoldFont={Museo Sans-500}]{Museo Sans-300} 23 | \setmathfont[StylisticSet=8,Scale=.7,vargreek-shape=unicode]{Asana Math}%XITS Math} 24 | %\setmathfont[StylisticSet=8,Scale=.8,vargreek-shape=unicode]{XITS Math} 25 | \setmathfont[Scale=.7,range={\leq,\leqslant,\geq,\geqslant,\in,\notin,\subset,\subseteq,\subsetneq,\supset,\supseteq,\supsetneq,\subsetfin,\subsetcirc,\times,\otimes,\smwhtdiamond,\lhd,\rhd}]{XITS Math} 26 | \setmathfont[Scale=.8,range={\mathbb}]{XITS Math} 27 | \setmathfont[Scale=.8,range={\sum,\mathcal,\mathbfcal,\ell,\int}]{Neo Euler} 28 | \renewcommand\mathcal\mathscr -------------------------------------------------------------------------------- /beamerthememinflat.sty: -------------------------------------------------------------------------------- 1 | % ----------------------------------------------------------------------------- % 2 | % Copyright 2016-2017 Robert Baumgarth The project is hosted on % 3 | % % 4 | % https://github.com/vipowueb/minflat-beamer % 5 | % % 6 | % Version: 1.0 % 7 | % Mail: robert@tractatus.info % 8 | % Website: http://math.uni.lu/~baumgarth/, % 9 | % http://robert.tractatus.info % 10 | % % 11 | % This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 % 12 | % International License (https://creativecommons.org/licenses/by-sa/4.0/). % 13 | % ----------------------------------------------------------------------------- % 14 | \NeedsTeXFormat{LaTeX2e} 15 | \ProvidesPackage{beamerthememinflat}[2015/11/17 Minimal Flat Design Beamer Theme] 16 | 17 | \usefonttheme{minflat} 18 | \usecolortheme{minflat} 19 | 20 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 21 | %%%% OPTIONS 22 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 23 | \newif\ifbeamer@nofooter 24 | \beamer@nofooterfalse 25 | \DeclareOptionBeamer{nofooter}{\beamer@nofootertrue} 26 | 27 | \ProcessOptionsBeamer 28 | 29 | 30 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 31 | \mode 32 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 33 | 34 | 35 | \beamersetuncovermixins{\opaqueness<1>{20}}{\opaqueness<2->{15}} 36 | 37 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 38 | %%%% load packages, format date 39 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 40 | \RequirePackage{tikz} 41 | \RequirePackage[en-GB]{datetime2} 42 | \DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}} 43 | 44 | 45 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 46 | %%%% set beamer template elements 47 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 48 | \setbeamertemplate{sections/subsections in toc}[circle] 49 | 50 | \setbeamertemplate{itemize item}{$\bigcirc$} 51 | \setbeamertemplate{itemize subitem}{$\circ$} 52 | \setbeamertemplate{itemize subsubitem}{$\circ$} 53 | 54 | 55 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 56 | %%%% define title page 57 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 58 | \def\titlepage{\usebeamertemplate{title page}} 59 | \setbeamertemplate{title page}{ 60 | \begin{minipage}[b][\paperheight]{\textwidth} 61 | \flushleft 62 | \vfill 63 | 64 | \ifx\insertinstitut\@empty% 65 | \else{% 66 | \vspace*{-6em} 67 | \usebeamerfont{institute}% 68 | \usebeamercolor[fg]{institute}% 69 | \insertinstitute \par 70 | \vspace*{6em} 71 | }% 72 | \fi% 73 | 74 | \ifx\insertsubtitle\@empty% 75 | \else{% 76 | \usebeamerfont{subtitle}% 77 | \usebeamercolor[fg]{subtitle}% 78 | \insertsubtitle \par 79 | }% 80 | \vspace*{.5em} 81 | \fi% 82 | 83 | \ifx\inserttitle\@empty% 84 | \else{% 85 | \usebeamerfont{title}% 86 | \usebeamercolor[fg]{title}% 87 | \bfseries \inserttitle \par 88 | }% 89 | \vspace*{.5em} 90 | \fi% 91 | 92 | \begin{tikzpicture} 93 | \draw[beamergreen] (0, 0) -- (\textwidth, 0); 94 | \end{tikzpicture}% 95 | \vspace*{1em} 96 | 97 | \ifx\insertauthor\@empty% 98 | \else{% 99 | \usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor \par 100 | }% 101 | \vspace*{.5em} 102 | \fi% 103 | 104 | \ifx\insertdate\@empty% 105 | \else{% 106 | \usebeamerfont{date} 107 | \usebeamercolor[fg]{date} 108 | \insertdate\par}% 109 | \fi% 110 | 111 | \vfill 112 | \vspace*{5mm} 113 | \end{minipage} 114 | } 115 | 116 | 117 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 118 | %%%% define thank you page 119 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 120 | \let\origaddtocontents=\addtocontents 121 | \def\dontaddtocontents#1#2{} 122 | 123 | \newcommand\sectionNotInTocAndNavigation[1]{ 124 | \let\addtocontents=\dontaddtocontents 125 | \section{#1} 126 | \let\addtocontents=\origaddtocontents 127 | } 128 | 129 | 130 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 131 | %%%% define overlays 132 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 133 | \newcounter{sectionsCounter} 134 | \AtBeginSection[]{ %%% Use \AtBeginSection[]{ to ignore \section* 135 | \stepcounter{sectionsCounter} 136 | \begingroup 137 | \setbeamercolor{background canvas}{parent=palette primary} 138 | 139 | \begin{frame}[plain,c]\label{sec-\thesectionsCounter} 140 | \usebeamerfont{section title} 141 | \begin{minipage}{.8\paperwidth} 142 | \color{section head color} 143 | \insertsection\\[1ex] %% = section name in section{}, \insertsectionhead = section[...]{} if set 144 | \progressbar{.25ex} 145 | \end{minipage} 146 | \end{frame} 147 | \endgroup 148 | } 149 | 150 | \AtBeginSubsection{ 151 | \begingroup 152 | \setbeamercolor{background canvas}{parent=palette primary} 153 | 154 | \begin{frame}[plain,c] 155 | \usebeamerfont{section title} 156 | \begin{minipage}{.8\paperwidth} 157 | \color{section head color} 158 | \insertsubsection\\[1ex] 159 | \progressbar{.25ex} 160 | \end{minipage} 161 | \end{frame} 162 | \endgroup 163 | } 164 | 165 | 166 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 167 | %%%% set counter for progress bar 168 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 169 | \AtEndDocument{% 170 | \makeatletter 171 | \def\sp{ }% 172 | \immediate\write\@mainaux{% 173 | \string\expandafter\string\ifx% 174 | \string\csname\sp c@schroedinger\string\endcsname\string\relax% 175 | \string\newcounter{\string schroedinger}% 176 | \string\fi% 177 | \string\setcounter{\string schroedinger}{\number\value{sectionsCounter}}% 178 | }% 179 | } 180 | 181 | 182 | \newcommand\progressbar[1]{% 183 | \dimen0=\textwidth 184 | \multiply\dimen0 by \insertframenumber 185 | \divide\dimen0 by \inserttotalframenumber 186 | \edef\progressbarwidth{\the\dimen0} 187 | \leavevmode% 188 | \begin{beamercolorbox}[wd=\textwidth,ht=#1,dp=#1]{progress bar} 189 | \begin{beamercolorbox}[wd=\progressbarwidth,ht=#1,dp=#1]{progress bar progress} 190 | \end{beamercolorbox}% 191 | \end{beamercolorbox}% 192 | } 193 | 194 | \DeclareRobustCommand\calcProgressbar[3]{% 195 | \dimen1=\textwidth 196 | \multiply\dimen1 by #1%\insertframenumber 197 | \divide\dimen1 by #2%\inserttotalframenumber 198 | \advance \dimen1 by #3%-20pt 199 | \the\dimen1 200 | % \calcProgressbar{\the\frameNumber}{\the\totalFrameNumberWithoutThx}{20pt} 201 | } 202 | 203 | 204 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 205 | %%%% define progress bar header 206 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 207 | \newcounter{progressBarCounter} 208 | \defbeamertemplate*{headline}{flat header}{% 209 | \vspace*{.5em} 210 | 211 | \newcount\totalFrameNumberWithoutThx 212 | \totalFrameNumberWithoutThx=\inserttotalframenumber 213 | \advance \totalFrameNumberWithoutThx by -1 214 | 215 | \def\tmp@valx{\value{schroedinger}}% 216 | \ifnum\tmp@valx=-1% 217 | $??$% 218 | \else% 219 | \setcounter{progressBarCounter}{1}\relax\loop\ifnum\theprogressBarCounter<\theschroedinger% 220 | \def\getSectionLabel{sec-\theprogressBarCounter} 221 | \newcount\frameNumber 222 | \frameNumber=\getrefnumber{\getSectionLabel}%\getpagerefnumber{\getSectionLabel} 223 | \advance \frameNumber by 1 224 | \dimen1=\textwidth 225 | \multiply\dimen1 by \frameNumber 226 | \divide\dimen1 by \totalFrameNumberWithoutThx 227 | \advance \dimen1 by -20pt 228 | \edef\labelAlignmentWidth{\the\dimen1} 229 | \expandafter\edef\csname sectionWidth\the\value{progressBarCounter}\endcsname{\labelAlignmentWidth} 230 | \expandafter\edef\csname sectionTitle\the\value{progressBarCounter}\endcsname{\getSectionLabel} 231 | \stepcounter{progressBarCounter}\relax\repeat% 232 | \leavevmode% 233 | 234 | \dimen0=\textwidth 235 | \multiply\dimen0 by \insertframenumber 236 | \divide\dimen0 by \totalFrameNumberWithoutThx 237 | \advance\dimen0 by -20pt 238 | \edef\slidesProgressbarWidth{\the\dimen0} 239 | 240 | \begin{tikzpicture}[every node/.style={black!50!white,\labelAlignmentHelper,yshift=-4pt}] 241 | \draw[progressbar green] (0,0) -- (\slidesProgressbarWidth,0); 242 | 243 | \advance \value{schroedinger} by -1 244 | \foreach \i in {1,...,\theschroedinger} { 245 | \ifdim\csname sectionWidth\i \endcsname>345pt 246 | \def\labelAlignmentHelper{below left} 247 | \else 248 | \def\labelAlignmentHelper{below} 249 | \fi 250 | 251 | \ifnum\the\c@section=\i 252 | \draw[draw=white,fill=progressbar green,thick] (\csname sectionWidth\i \endcsname,0) circle [radius=4pt]; 253 | \draw (\csname sectionWidth\i \endcsname,0) node[fill=white,font=\bfseries]{ \ \hyperlink{sec-\i}{\nameref{\csname sectionTitle\i \endcsname}} }; 254 | \else 255 | \draw[draw=progressbar green,fill=white] (\csname sectionWidth\i \endcsname,0) circle [radius=3pt]; 256 | \draw (\csname sectionWidth\i \endcsname,0) node[]{ \ \hyperlink{sec-\i}{\nameref{\csname sectionTitle\i \endcsname}} }; 257 | \fi 258 | }; 259 | \end{tikzpicture} 260 | \fi 261 | } 262 | 263 | 264 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 265 | %%%% cut beamer symbols, define footer 266 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 267 | \beamertemplatenavigationsymbolsempty 268 | 269 | \defbeamertemplate*{footline}{flat footer}{ 270 | \ifbeamer@nofooter\relax 271 | \else 272 | \hbox{% 273 | \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm]{nocolor}%{author in head/foot}% 274 | \color{lowOpacity}\hspace*{1.5em}\insertshortauthor 275 | \end{beamercolorbox}% 276 | \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm]{nocolor}%{title in head/foot}% 277 | \color{lowOpacity}\hfill \insertframenumber\, \,(\inserttotalframenumber)\hspace*{1.5em}% 278 | \end{beamercolorbox}% 279 | }% 280 | \vskip1ex% 281 | \fi 282 | } 283 | 284 | 285 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 286 | %%%% define image frame 287 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 288 | \newenvironment{blankframe}{ 289 | \setbeamertemplate{headline}{} 290 | \addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{} 291 | \setbeamertemplate{footline}{} 292 | }{} 293 | 294 | \newcommand\imageFrame[1]{% 295 | \begin{blankframe} 296 | \begin{frame} 297 | \begin{tikzpicture}[remember picture,overlay] 298 | \node[at=(current page.center)] { 299 | \includegraphics[width=\paperwidth]{#1} 300 | }; 301 | \end{tikzpicture} 302 | \end{frame} 303 | \end{blankframe} 304 | } 305 | 306 | 307 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 308 | %%%% define image frames with overlay 309 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 310 | \newcommand\imageFrameOverlay[5]{% 311 | \ifcase\pdfstrcmp{#5}{left} 312 | \def\xShift{} 313 | \def\anchorShift{west} 314 | \fi 315 | \ifcase\pdfstrcmp{#5}{right} 316 | \def\xShift{-} 317 | \def\anchorShift{east} 318 | \fi 319 | 320 | \begin{blankframe} 321 | \begin{frame} 322 | \begin{tikzpicture}[remember picture,overlay,headNfoot/.style={section head color,text width=#1, align=center, xshift=\xShift#1/2}] 323 | \node[at=(current page.center)] { 324 | \includegraphics[width=\paperwidth]{#2} 325 | }; 326 | \draw [draw=none,fill=darkpurple,opacity=.8] (current page.north \anchorShift) rectangle ([xshift=\xShift#1]current page.south \anchorShift); 327 | \node[headNfoot] at ([yshift=-#1/3]current page.north \anchorShift) {\fontsize{26pt}{30pt}\selectfont\hyphenchar\font=-1 #3\par}; 328 | \node[headNfoot] at ([yshift=#1/3]current page.south \anchorShift) {\bfseries\fontsize{26pt}{30pt}\selectfont\hyphenchar\font=-1 #4\par}; 329 | \end{tikzpicture} 330 | \end{frame} 331 | \end{blankframe} 332 | } 333 | 334 | \newcommand\imageFrameOverlayLeft[4][125pt]{% 335 | \imageFrameOverlay{#1}{#2}{#3}{#4}{left} 336 | } 337 | 338 | \newcommand\imageFrameOverlayRight[4][125pt]{% 339 | \imageFrameOverlay{#1}{#2}{#3}{#4}{right} 340 | } 341 | 342 | 343 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 344 | %%%% define highlighted frame 345 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 346 | \newcommand\highlightedFrame[2][]{% 347 | \ifx#1\empty 348 | \def\highlightText{#1} 349 | \def\highlightSubText{} 350 | \else 351 | \def\highlightText{#2} 352 | \def\highlightSubText{#1} 353 | \fi 354 | 355 | \begingroup 356 | \setbeamercolor{background canvas}{parent=palette primary} 357 | 358 | \begin{frame}[plain,c] 359 | \usebeamerfont{section title} 360 | \begin{tikzpicture}[remember picture,overlay] 361 | \node[at=(current page.center),text width=\textwidth,align=center] { 362 | \color{section head color} 363 | \bfseries\fontsize{48pt}{30pt}\selectfont\hyphenchar\font=-1 \highlightText\par 364 | 365 | \bfseries\fontsize{18pt}{30pt}\selectfont\hyphenchar\font=-1 \highlightSubText\par 366 | }; 367 | \end{tikzpicture} 368 | \end{frame} 369 | \endgroup 370 | } 371 | 372 | \newcommand{\milestones}[1]{% 373 | 374 | } 375 | 376 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 377 | %%%% redefine frame title 378 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 379 | \setbeamertemplate{frametitle} 380 | { 381 | \vspace*{1em} 382 | \hspace*{-3pt}\color{darkpurple}{\insertframetitle} 383 | % \begin{beamercolorbox}[wd=.7\textwidth,ht=1pt]{purple bar} 384 | % \end{beamercolorbox}% 385 | } 386 | 387 | \mode 388 | 389 | 390 | \linespread{.9} -------------------------------------------------------------------------------- /gfx/horizontallift.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipowueb/minflat-beamer/4f04cfa2383c37cf15c0ce68aa2bdfd46ba40363/gfx/horizontallift.pdf -------------------------------------------------------------------------------- /gfx/uni_lu_logo_gr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipowueb/minflat-beamer/4f04cfa2383c37cf15c0ce68aa2bdfd46ba40363/gfx/uni_lu_logo_gr.jpg -------------------------------------------------------------------------------- /minflat.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vipowueb/minflat-beamer/4f04cfa2383c37cf15c0ce68aa2bdfd46ba40363/minflat.pdf -------------------------------------------------------------------------------- /minflat.tex: -------------------------------------------------------------------------------- 1 | \documentclass[xetex,notheorems,hyperref={pdfpagelabels=true},xcolor={table}]{beamer} 2 | \usetheme{minflat} 3 | 4 | \usepackage{booktabs} 5 | \usepackage[scale=2]{ccicons} 6 | 7 | \usepackage[style=american]{csquotes} 8 | 9 | \usetikzlibrary{decorations.pathreplacing, decorations.pathmorphing,calc,arrows,positioning} 10 | 11 | %%% enable notes on second screen 12 | %\usepackage{pgfpages} 13 | %\setbeameroption{show notes on second screen=right} 14 | %\setbeamertemplate{note page}[compress] 15 | 16 | 17 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 18 | %%%% define content of title page 19 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 20 | \def\talkTitle{minflat Beamer Theme} 21 | \def\talkShortTitle{Short title} 22 | \def\talkSubtitle{Your subtitle (Talk @ etc.) } 23 | \def\talkKeywords{Keywords} 24 | 25 | %% Define meta data of pdf 26 | \hypersetup{ 27 | pdftitle={Slides to talk - \talkTitle}, 28 | pdfsubject={\talkTitle}, 29 | pdfauthor={Robert Baumgarth}, 30 | pdfkeywords={\talkKeywords}, 31 | colorlinks=false 32 | } 33 | 34 | 35 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 36 | %%%% set content of title page 37 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 38 | \title[\talkShortTitle]{\talkTitle} 39 | \subtitle{\talkSubtitle} 40 | \author{Robert Baumgarth -- robert.baumgarth@uni.lu} 41 | \DTMlangsetup[en-GB]{ord=raise,monthyearsep={,\space}} 42 | \date{\DTMtoday} 43 | \institute{% 44 | \includegraphics[width=.5\textwidth]{./gfx/uni_lu_logo_gr.jpg}% 45 | } 46 | 47 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 48 | %%%% theorem tools, theorem and proof styles 49 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 50 | \setbeamertemplate{theorem}[ams style] 51 | %\setbeamertemplate{theorems}[numbered] 52 | 53 | \newcounter{chapter} 54 | \setcounter{chapter}{1} 55 | \theoremstyle{plain} 56 | \newtheorem{theorem}{Theorem}[section] 57 | \newtheorem{lemma}[theorem]{Lemma} 58 | \newtheorem{proposition}[theorem]{Proposition} 59 | \newtheorem{corollary}[theorem]{Corollary} 60 | 61 | \theoremstyle{definition} 62 | \newtheorem{conclusion}[theorem]{Conclusion} 63 | \newtheorem*{definition}{Definition} 64 | \newtheorem*{remark}{Remark} 65 | \newtheorem*{dummyblock}{dummyblock} 66 | 67 | \theoremstyle{example} 68 | \newtheorem{example}[theorem]{Example} 69 | 70 | \newenvironment<>{dummyblock}[1]{% 71 | \setbeamercolor{block title}{fg=white,bg=white}% 72 | \setbeamercolor{block body}{fg=normal text.fg,bg=white}% 73 | \begin{block}#2{#1}}{\end{block}} 74 | 75 | 76 | \begin{document} 77 | 78 | \renewcommand{\leq}{\leqslant} 79 | \renewcommand{\geq}{\geqslant} 80 | 81 | \renewcommand\theta\vartheta 82 | 83 | 84 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 85 | %%%% title page 86 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 87 | \begin{frame}[plain] 88 | \titlepage 89 | \end{frame} 90 | 91 | 92 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 93 | %%%% toc 94 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 95 | \begin{frame} 96 | \tableofcontents 97 | \end{frame} 98 | 99 | 100 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 101 | %%%% introduction 102 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 103 | \section{Introduction} 104 | \begin{frame}[fragile] 105 | \frametitle{minflat} 106 | The \emph{minflat} theme is a Beamer theme in modern flat design, i.e. emphasising a minimal yet functional design, primarily designed for mathematical talks.\\[.5em] 107 | 108 | You can enable the theme by loading: 109 | \begin{verbatim} \documentclass{beamer} 110 | \usetheme{minflat} \end{verbatim} 111 | Note that XeTeX and the free Museo Sans 300 font need to be installed. Moreover this theme requires that the following packages are installed: 112 | \begin{itemize} 113 | \item \emph{tikz} 114 | \item \emph{datetime2} 115 | \end{itemize} 116 | \end{frame} 117 | 118 | 119 | \begin{frame}{Design} 120 | You can choose between two color schemes. A {\bfseries\color{darkpurple} blue violet} and a {\bfseries\color[RGB]{137,57,94} red purple} variant. Corresponding colours used are green for the {\color{progressbar green} progress bar} (and {\color{beamergreen} examples}) and orange for {\color{beamerorange} alert elements} (cf. \hyperlink{slide::ex-alert-el}{below}).\\[.5em] 121 | 122 | Sections always start showing an overlay slide containing the section name and a nice progress bar.\\[.5em] 123 | 124 | All slides have a progress bar on top where the current section is indicated by highlighted green blob and a slightly bolder name.\\[.5em] 125 | 126 | The date uses the {\fontsize{9pt}{9pt}\selectfont\texttt{datetime2}} package so you can change the format if you wish. You should replace the logo on the title page with our own by setting the appropriate path or just comment out with no harm. At the moment I am a PhD student (Assistant-doctorant) at the University of Luxembourg. 127 | \end{frame} 128 | 129 | \begin{frame}[fragile]{Theme Options \& Remarks} 130 | \begin{center} 131 | \arrayrulecolor{darkpurple} 132 | \begin{tabular}[]{ll} 133 | \toprule 134 | {\bfseries Option} & {\bfseries Description}\\ 135 | \midrule 136 | purple & switch to {\bfseries\color[RGB]{137,57,94} red purple} colour scheme\\[0.5em] 137 | xcolor={table} & should be activated to colour tables\\[0.5em] 138 | notheorems & should be activated to use the dummyblock definition\\ 139 | \bottomrule 140 | \end{tabular} 141 | \end{center} 142 | Note that if you use the 143 | \begin{verbatim} \usepackage{pgfpages} 144 | \setbeameroption{show notes on second screen=right} 145 | \setbeamertemplate{note page}[compress] \end{verbatim} 146 | to enable notes on the second screen there is a bug in beamer that normal text on frames becomes white. So I added a \texttt{dummyblock} wrapper to solve this issue. 147 | \end{frame} 148 | 149 | 150 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 151 | %%%% Blocks, Alerts \& Math Environments 152 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 153 | \section{Blocks, Alerts \& Math Environments} 154 | \begin{frame}{Blocks, Alerts \& Math Environments} 155 | \begin{block}{Notation} 156 | This is some notation. 157 | \end{block} 158 | 159 | \begin{definition} 160 | This is a definition. 161 | \end{definition} 162 | 163 | \begin{remark} 164 | And this is a remark. 165 | \end{remark} 166 | \end{frame} 167 | 168 | \begin{frame} 169 | \begin{theorem}[Existence \& Uniqueness for ...] 170 | A theorem is important so it should be emphasised! 171 | \end{theorem} 172 | 173 | \begin{proposition} 174 | A proposition may be a little less important but it's also worth emphasising! 175 | \end{proposition} 176 | 177 | In the same way we can create lemmata \& corollaries. 178 | \end{frame} 179 | 180 | \begin{frame}\label{slide::ex-alert-el} 181 | \begin{example} 182 | Examples should be made. Of course normally only the mathematician understands why this text on the blackboard should be an example. 183 | \end{example} 184 | 185 | Finally 186 | 187 | \begin{alertblock}{Alert, alert} 188 | An alert block has a catchy colour. 189 | \end{alertblock} 190 | \end{frame} 191 | 192 | 193 | { 194 | \definecolor{darkpurple}{RGB}{137,57,94} 195 | \definecolor{beamergreen}{RGB}{57,137,100} 196 | \definecolor{beamerorange}{RGB}{255,175,0} 197 | \begin{frame}{Red purple colour scheme} 198 | Finally let us have a look at the second colour scheme: 199 | 200 | \begin{theorem}[Existence \& Uniqueness for ...] 201 | A theorem is important so it should be emphasised! 202 | \end{theorem} 203 | 204 | \begin{example} 205 | Examples should be made. Of course normally only the mathematician understands why this text on the blackboard should be an example. 206 | \end{example} 207 | 208 | \begin{alertblock}{Alert, alert} 209 | An alert block has a catchy colour. 210 | \end{alertblock} 211 | \end{frame} 212 | } 213 | 214 | 215 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 216 | %%%% Overlays \& Images 217 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 218 | \section{Overlays \& Images} 219 | \begin{frame}[fragile] 220 | \frametitle{Overlays \& Images} 221 | Complying with the old saying: \enquote{A picture speaks a thousand words}, we can create frames which only contain a picture by 222 | \begin{center} 223 | \texttt{\textbackslash imageFrame\{imageURL\}.} 224 | \end{center} 225 | We can also define an overlay on the left oder right side of the frame. By default the overlay has a width of 150pt. We can adjust as an optional argument. 226 | \begin{verbatim} \imageFrameOverlayLeft[optional width]{% 227 | ./gfx/horizontallift.pdf}{% 228 | Want big impact?}{% 229 | Use a big picture.} \end{verbatim} 230 | \end{frame} 231 | 232 | %%%% image frame with overlay left 233 | \imageFrameOverlayLeft{% 234 | ./gfx/horizontallift.pdf}{% 235 | Want big impact?}{% 236 | Use a big picture.} 237 | 238 | %%%% image frame with overlay right, custom size 239 | \imageFrameOverlayRight[150pt]{% 240 | ./gfx/horizontallift.pdf}{% 241 | Need a bigger overlay on the right side?}{% 242 | } 243 | 244 | 245 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 246 | %%%% Listings, Tables, Highlighted Text \& Tikz 247 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 248 | \section{Listings, Tables, Highlighted Text \& Tikz} 249 | 250 | \begin{frame}{Listings} 251 | \begin{itemize} 252 | \item Item $\sharp$1 253 | \item Item $\sharp$2 254 | \begin{itemize} 255 | \item Subitem 2.$\sharp$1 256 | \item Subitem 2.$\sharp$2 257 | \end{itemize} 258 | \end{itemize} 259 | and so on. We can also create highlighted lists: 260 | \begin{itemize}[<+- | alert@+>] 261 | \item \alert<4>{\only<-3>{Hi!}\only<4>{or here?}} 262 | \item you 263 | \item there! 264 | \end{itemize} 265 | \end{frame} 266 | 267 | \begin{frame}{Tables} 268 | \begin{center} 269 | \arrayrulecolor{darkpurple} 270 | \begin{tabular}[]{lrrl} 271 | \toprule 272 | & \multicolumn{1}{c}{{\bfseries Dual space}} 273 | & \multicolumn{1}{c}{{\bfseries Reflexive}} 274 | & \multicolumn{1}{l}{{\bfseries Norm}} \\ 275 | \midrule 276 | $\mathbb K^n$ & $\mathbb K^n$ & Yes & $\Vert x\Vert_2 =\left(\sum_{i=1}^n |x_i|^2\right)^{\frac 12}$\\[0.5em] 277 | $\ell_p$ & $\ell_q$ & Yes & $\Vert x\Vert_p = \left( \sum_{i=1}^\infty |x_i|^p \right)^{\frac 1p}$\\[0.5em] 278 | $\ell_1$ & $\ell_\infty$ & \alert{No} & $\Vert x\Vert_1 = \sum_{i=1}^\infty |x_i|$\\[0.5em] 279 | $\ell_\infty$ & {\small complicated} & \alert{No} & $\Vert x\Vert_\infty = \sup_i |x_i|$\\[0.5em] 280 | $L^p(\mu)$ & $L^q(\mu)$ & Yes & $\Vert f\Vert_p = \left( \int |f|^p \, \mathrm d\mu \right)^{\frac 1p}$\\[0.5em] 281 | $L^1(\mu)$ & $L^\infty(\mu)$ & \alert{No} & $\Vert f\Vert_1 = \int |f| \, \mathrm d\mu$\\ 282 | \bottomrule 283 | \end{tabular} 284 | \end{center} 285 | \end{frame} 286 | 287 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 288 | %%%% highlighted frame with number and 289 | %%%% optional subtext 290 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 291 | \highlightedFrame[such an impressive number should be big!]{89.432.567} 292 | 293 | \begin{frame}{Tikz} 294 | \begin{center} 295 | \begin{tikzpicture}[scale=.8] 296 | \pgfmathsetseed{2236} 297 | 298 | \fill (0,0) circle (2pt); 299 | \draw (0,0) ellipse (5 and 3); 300 | \node at (5,-2.5) {$D \subsetneq \mathbb R^n$}; 301 | 302 | \draw[decorate, decoration={random steps,segment length=5pt,amplitude=10pt}] [darkpurple] plot [smooth, tension=1] coordinates { (0,0) (2,0) (0,2.5) (-3,0) (0,-1.5) (4,1.8)}; 303 | \node[darkpurple] at (2.8,-1.5) {BM with $p_t$, $T_t$}; 304 | 305 | \node at (5.2,1.8) {$\partial D \ni x_0$}; 306 | \fill (4,1.8) circle (1pt); 307 | 308 | \draw[->,beamergreen,thick] (4,1.8) -- (3,1); 309 | 310 | \draw[->,beamerorange,thick] (4,1.8) -- (5,2.6); 311 | \fill (4,1.8) circle (.5pt); 312 | \end{tikzpicture} 313 | \end{center} 314 | 315 | \begin{itemize} 316 | \item Trap, $x_0$ absorbing = Killing Brownian motion = Dirichlet problem 317 | \item {\color{beamergreen} Reflected Brownian motion = Neumann problem} 318 | \item {\color{beamerorange} Wait an go on = Sticky Brownian motion} 319 | \end{itemize} 320 | \end{frame} 321 | 322 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 323 | %%%% thanks slide, not in toc 324 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 325 | \sectionNotInTocAndNavigation{Thank you. Questions?} 326 | 327 | 328 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 329 | %%%% conclusion frame 330 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 331 | \begin{frame}{Conclusion} 332 | 333 | Let me close addressing some thanks for the inspiration to the \href{https://github.com/matze/mtheme/}{metropolis mtheme}. This theme and its sources \& demo are completely hosted by 334 | 335 | \begin{center}\url{https://github.com/vipowueb/minflat-beamer}\end{center} 336 | 337 | It \emph{itself} is licensed under the 338 | \href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons 339 | Attribution-ShareAlike 4.0 International License}. 340 | 341 | \begin{center}\ccbysa\end{center} 342 | \end{frame} 343 | 344 | \end{document} --------------------------------------------------------------------------------