📚 The CoCalc Library - books, templates and other resources
cocalc-examples / martinthoma-latex-examples / presentations / CNN-Intro / beamerthememetropolis.sty
132931 viewsLicense: OTHER
%%1%% This is file `beamerthememetropolis.sty',2%% generated with the docstrip utility.3%%4%% The original source files were:5%%6%% beamerthememetropolis.dtx (with options: `package')7%% ---------------------------------------------------------------------------8%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of9%% contributors can be found at10%%11%% https://github.com/matze/mtheme/graphs/contributors12%%13%% and the original template was based on the HSRM theme by Benjamin Weiss.14%%15%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.016%% International License (https://creativecommons.org/licenses/by-sa/4.0/).17%% ---------------------------------------------------------------------------18\NeedsTeXFormat{LaTeX2e}19\ProvidesPackage{beamerthememetropolis}20[2017/01/23 v1.2 Metropolis Beamer theme]21\RequirePackage{etoolbox}22\RequirePackage{pgfopts}23\pgfkeys{/metropolis/.cd,24.search also={25/metropolis/inner,26/metropolis/outer,27/metropolis/color,28/metropolis/font,29}30}31\pgfkeys{32/metropolis/titleformat plain/.cd,33.is choice,34regular/.code={%35\let\metropolis@plaintitleformat\@empty%36\setbeamerfont{standout}{shape=\normalfont}%37},38smallcaps/.code={%39\let\metropolis@plaintitleformat\@empty%40\setbeamerfont{standout}{shape=\scshape}%41},42allsmallcaps/.code={%43\let\metropolis@plaintitleformat\MakeLowercase%44\setbeamerfont{standout}{shape=\scshape}%45\PackageWarning{beamerthememetropolis}{%46Be aware that titleformat plain=allsmallcaps can lead to problems%47}48},49allcaps/.code={%50\let\metropolis@plaintitleformat\MakeUppercase%51\setbeamerfont{standout}{shape=\normalfont}%52\PackageWarning{beamerthememetropolis}{%53Be aware that titleformat plain=allcaps can lead to problems%54}55},56}57\pgfkeys{58/metropolis/titleformat/.code=\pgfkeysalso{59font/titleformat title=#1,60font/titleformat subtitle=#1,61font/titleformat section=#1,62font/titleformat frame=#1,63titleformat plain=#1,64}65}66\pgfkeys{/metropolis/.cd,67usetitleprogressbar/.code=\pgfkeysalso{outer/progressbar=frametitle},68noslidenumbers/.code=\pgfkeysalso{outer/numbering=none},69usetotalslideindicator/.code=\pgfkeysalso{outer/numbering=fraction},70nosectionslide/.code=\pgfkeysalso{inner/sectionpage=none},71darkcolors/.code=\pgfkeysalso{color/background=dark},72blockbg/.code=\pgfkeysalso{color/block=fill, inner/block=fill},73}74\newcommand{\metropolis@setdefaults}{75\pgfkeys{/metropolis/.cd,76titleformat plain=regular,77}78}79\providecommand{\tikzexternalenable}{}80\providecommand{\tikzexternaldisable}{}81\useinnertheme{metropolis}82\useoutertheme{metropolis}83\usecolortheme{metropolis}84\usefonttheme{metropolis}85\AtEndPreamble{%86\@ifpackageloaded{pgfplots}{%87\RequirePackage{pgfplotsthemetol}88}{}89}90\newcommand{\metroset}[1]{\pgfkeys{/metropolis/.cd,#1}}91\def\metropolis@plaintitleformat#1{#1}92\newcommand{\plain}[2][]{%93\PackageWarning{beamerthememetropolis}{%94The syntax `\plain' may be deprecated in a future version of Metropolis.95Please use a frame with [standout] instead.96}97\begin{frame}[standout]{#1}98\metropolis@plaintitleformat{#2}99\end{frame}100}101\newcommand{\mreducelistspacing}{\vspace{-\topsep}}102\metropolis@setdefaults103\ProcessPgfOptions{/metropolis}104\endinput105%%106%% End of file `beamerthememetropolis.sty'.107108109