external tex
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 8
|
||||
|
||||
[*.{tex,sty,bib}]
|
||||
indent_size = 2
|
||||
@@ -0,0 +1,2 @@
|
||||
$bibtex_use = 2;
|
||||
$clean_ext = "nav snm";
|
||||
@@ -0,0 +1,58 @@
|
||||
% Gemini theme
|
||||
% https://github.com/anishathalye/gemini
|
||||
|
||||
% ====================
|
||||
% Definitions
|
||||
% ====================
|
||||
|
||||
\definecolor{lightgray}{RGB}{245, 246, 250}
|
||||
\definecolor{blue}{RGB}{64, 115, 158}
|
||||
\definecolor{darkblue}{RGB}{39, 60, 117}
|
||||
\definecolor{lightblue}{RGB}{232, 244, 255}
|
||||
|
||||
% ====================
|
||||
% Theme
|
||||
% ====================
|
||||
|
||||
% Basic colors
|
||||
\setbeamercolor{palette primary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette secondary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette tertiary}{bg=black,fg=white}
|
||||
\setbeamercolor{palette quaternary}{fg=black,bg=white}
|
||||
\setbeamercolor{structure}{fg=darkblue}
|
||||
|
||||
% Headline
|
||||
\setbeamercolor{headline}{fg=lightgray,bg=blue}
|
||||
\setbeamercolor{headline rule}{bg=darkblue}
|
||||
|
||||
% Block
|
||||
\setbeamercolor{block title}{fg=blue,bg=white}
|
||||
\setbeamercolor{block separator}{bg=black}
|
||||
\setbeamercolor{block body}{fg=black,bg=white}
|
||||
|
||||
% Alert Block
|
||||
\setbeamercolor{block alerted title}{fg=blue,bg=lightblue}
|
||||
\setbeamercolor{block alerted separator}{bg=black}
|
||||
\setbeamercolor{block alerted body}{fg=black,bg=lightblue}
|
||||
|
||||
% Example Block
|
||||
\setbeamercolor{block example title}{fg=blue,bg=lightgray}
|
||||
\setbeamercolor{block example separator}{bg=black}
|
||||
\setbeamercolor{block example body}{fg=black,bg=lightgray}
|
||||
|
||||
% Heading
|
||||
\setbeamercolor{heading}{fg=black}
|
||||
|
||||
% Itemize
|
||||
\setbeamercolor{item}{fg=darkblue}
|
||||
|
||||
% Bibliography
|
||||
\setbeamercolor{bibliography item}{fg=black}
|
||||
\setbeamercolor{bibliography entry author}{fg=black}
|
||||
\setbeamercolor{bibliography entry title}{fg=black}
|
||||
\setbeamercolor{bibliography entry location}{fg=black}
|
||||
\setbeamercolor{bibliography entry note}{fg=black}
|
||||
\setbeamertemplate{bibliography entry article}{}
|
||||
\setbeamertemplate{bibliography entry title}{}
|
||||
\setbeamertemplate{bibliography entry location}{}
|
||||
\setbeamertemplate{bibliography entry note}{}
|
||||
@@ -0,0 +1,55 @@
|
||||
% Gemini theme
|
||||
% https://github.com/anishathalye/gemini
|
||||
|
||||
% ====================
|
||||
% Definitions
|
||||
% ====================
|
||||
|
||||
\definecolor{labsixorange}{RGB}{243, 111, 33}
|
||||
|
||||
% Extra colors
|
||||
\definecolor{lightgray}{RGB}{240, 240, 240}
|
||||
\definecolor{lightorange}{RGB}{255, 240, 230}
|
||||
|
||||
% ====================
|
||||
% Theme
|
||||
% ====================
|
||||
|
||||
% Basic colors
|
||||
\setbeamercolor{palette primary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette secondary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette tertiary}{bg=black,fg=white}
|
||||
\setbeamercolor{palette quaternary}{fg=black,bg=white}
|
||||
\setbeamercolor{structure}{fg=labsixorange}
|
||||
|
||||
% Headline
|
||||
\setbeamercolor{headline}{fg=white,bg=labsixorange}
|
||||
\setbeamercolor{headline rule}{bg=black}
|
||||
|
||||
% Block
|
||||
\setbeamercolor{block title}{fg=labsixorange,bg=white}
|
||||
\setbeamercolor{block separator}{bg=black}
|
||||
\setbeamercolor{block body}{fg=black,bg=white}
|
||||
|
||||
% Alert Block
|
||||
\setbeamercolor{block alerted title}{fg=labsixorange,bg=lightorange}
|
||||
\setbeamercolor{block alerted separator}{bg=black}
|
||||
\setbeamercolor{block alerted body}{fg=black,bg=lightorange}
|
||||
|
||||
% Example Block
|
||||
\setbeamercolor{block example title}{fg=labsixorange,bg=lightgray}
|
||||
\setbeamercolor{block example separator}{bg=black}
|
||||
\setbeamercolor{block example body}{fg=black,bg=lightgray}
|
||||
|
||||
% Heading
|
||||
\setbeamercolor{heading}{fg=black}
|
||||
|
||||
% Itemize
|
||||
\setbeamercolor{item}{fg=labsixorange}
|
||||
|
||||
% Bibliography
|
||||
\setbeamercolor{bibliography item}{fg=black}
|
||||
\setbeamercolor{bibliography entry author}{fg=black}
|
||||
\setbeamercolor{bibliography entry title}{fg=black}
|
||||
\setbeamercolor{bibliography entry location}{fg=black}
|
||||
\setbeamercolor{bibliography entry note}{fg=black}
|
||||
@@ -0,0 +1,57 @@
|
||||
% Gemini theme
|
||||
% https://github.com/anishathalye/gemini
|
||||
|
||||
% ====================
|
||||
% Definitions
|
||||
% ====================
|
||||
|
||||
% Colors from http://web.mit.edu/graphicidentity/colors.html
|
||||
\definecolor{mitred}{cmyk}{0.24, 1.0, 0.78, 0.17}
|
||||
\definecolor{mitdarkgray}{cmyk}{0.48, 0.39, 0.39, 0.04}
|
||||
\definecolor{mitlightgray}{cmyk}{0.24, 0.20, 0.20, 0.0}
|
||||
|
||||
% Extra colors
|
||||
\definecolor{lightgray}{RGB}{240, 240, 240}
|
||||
\definecolor{lightorange}{RGB}{255, 245, 242}
|
||||
|
||||
% ====================
|
||||
% Theme
|
||||
% ====================
|
||||
|
||||
% Basic colors
|
||||
\setbeamercolor{palette primary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette secondary}{fg=black,bg=white}
|
||||
\setbeamercolor{palette tertiary}{bg=black,fg=white}
|
||||
\setbeamercolor{palette quaternary}{fg=black,bg=white}
|
||||
\setbeamercolor{structure}{fg=mitred}
|
||||
|
||||
% Headline
|
||||
\setbeamercolor{headline}{fg=black,bg=lightgray}
|
||||
|
||||
% Block
|
||||
\setbeamercolor{block title}{fg=mitred,bg=white}
|
||||
\setbeamercolor{block separator}{bg=black}
|
||||
\setbeamercolor{block body}{fg=black,bg=white}
|
||||
|
||||
% Alert Block
|
||||
\setbeamercolor{block alerted title}{fg=mitred,bg=lightorange}
|
||||
\setbeamercolor{block alerted separator}{bg=black}
|
||||
\setbeamercolor{block alerted body}{fg=black,bg=lightorange}
|
||||
|
||||
% Example Block
|
||||
\setbeamercolor{block example title}{fg=mitred,bg=lightgray}
|
||||
\setbeamercolor{block example separator}{bg=black}
|
||||
\setbeamercolor{block example body}{fg=black,bg=lightgray}
|
||||
|
||||
% Heading
|
||||
\setbeamercolor{heading}{fg=black}
|
||||
|
||||
% Itemize
|
||||
\setbeamercolor{item}{fg=mitred}
|
||||
|
||||
% Bibliography
|
||||
\setbeamercolor{bibliography item}{fg=black}
|
||||
\setbeamercolor{bibliography entry author}{fg=black}
|
||||
\setbeamercolor{bibliography entry title}{fg=black}
|
||||
\setbeamercolor{bibliography entry location}{fg=black}
|
||||
\setbeamercolor{bibliography entry note}{fg=black}
|
||||
@@ -0,0 +1,257 @@
|
||||
% Gemini theme
|
||||
% https://github.com/anishathalye/gemini
|
||||
|
||||
% ====================
|
||||
% Dependencies
|
||||
% ====================
|
||||
|
||||
\RequirePackage{exscale}
|
||||
\RequirePackage{ragged2e}
|
||||
\RequirePackage{changepage}
|
||||
\RequirePackage{fontspec}
|
||||
\RequirePackage{calc}
|
||||
|
||||
% ====================
|
||||
% Fonts
|
||||
% ====================
|
||||
|
||||
\newfontfamily\Raleway[Ligatures=TeX]{Raleway}
|
||||
\newfontfamily\Lato[Ligatures=TeX]{Lato}
|
||||
|
||||
\usefonttheme{professionalfonts}
|
||||
|
||||
\setsansfont{Lato}[
|
||||
UprightFont=*-Light,
|
||||
ItalicFont=*-LightItalic,
|
||||
BoldFont=*-Regular,
|
||||
BoldItalicFont=*-Italic
|
||||
]
|
||||
|
||||
\setbeamerfont{headline}{family=\Raleway}
|
||||
\setbeamerfont{headline title}{size=\Huge,series=\bfseries}
|
||||
\setbeamerfont{headline author}{size=\Large}
|
||||
\setbeamerfont{headline institute}{size=\normalsize}
|
||||
\setbeamerfont{block title}{family=\Raleway,size=\large,series=\bfseries}
|
||||
\setbeamerfont{heading}{family=\Lato,series=\bfseries}
|
||||
\setbeamerfont{caption}{size=\small}
|
||||
\setbeamerfont{footline}{family=\Raleway,size=\normalsize}
|
||||
|
||||
% ====================
|
||||
% Macros
|
||||
% ====================
|
||||
|
||||
\newcommand{\samelineand}{\qquad}
|
||||
|
||||
% ====================
|
||||
% Elements
|
||||
% ====================
|
||||
|
||||
% List
|
||||
\def\@listi{\leftmargin\leftmargini
|
||||
\topsep 1ex % spacing before
|
||||
\parsep 0\p@ \@plus\p@
|
||||
\itemsep 0.5ex} % spacing between
|
||||
|
||||
% Itemize
|
||||
|
||||
\setbeamertemplate{itemize item}{\raise0.5ex \hbox{\vrule width 0.5ex height 0.5ex}}
|
||||
\setbeamertemplate{itemize subitem}{\raise0.3ex \hbox{\vrule width 0.5ex height 0.5ex}}
|
||||
\setbeamertemplate{itemize subsubitem}{\raise0.2ex \hbox{\vrule width 0.5ex height 0.5ex}}
|
||||
|
||||
% Enumerate
|
||||
|
||||
\setbeamertemplate{enumerate item}{\insertenumlabel.}
|
||||
\setbeamertemplate{enumerate subitem}{\insertsubenumlabel.}
|
||||
\setbeamertemplate{enumerate subsubitem}{\insertsubsubenumlabel.}
|
||||
|
||||
% Equation
|
||||
\setlength\belowdisplayshortskip{2ex}
|
||||
|
||||
% Caption
|
||||
\setbeamertemplate{caption}[numbered]
|
||||
\setbeamertemplate{caption label separator}[period]
|
||||
\setlength{\abovecaptionskip}{2ex}
|
||||
\setlength{\belowcaptionskip}{1ex}
|
||||
|
||||
% Bibliography
|
||||
\setbeamertemplate{bibliography item}[text]
|
||||
|
||||
% Navigation
|
||||
\beamertemplatenavigationsymbolsempty
|
||||
|
||||
% ====================
|
||||
% Components
|
||||
% ====================
|
||||
|
||||
% Heading
|
||||
\newcommand\heading[1]
|
||||
{%
|
||||
\par\bigskip
|
||||
{\usebeamerfont{heading}\usebeamercolor[fg]{heading}#1}\par\smallskip
|
||||
}
|
||||
|
||||
% logo
|
||||
\newlength{\logoleftwidth}
|
||||
\setlength{\logoleftwidth}{0cm}
|
||||
\newlength{\logorightwidth}
|
||||
\setlength{\logorightwidth}{0cm}
|
||||
\newlength{\maxlogowidth} % space on both sides set to maxlogowidth to keep title centered
|
||||
\setlength{\maxlogowidth}{0cm}
|
||||
|
||||
\newcommand{\logoright}[1]{
|
||||
\newcommand{\insertlogoright}{#1}
|
||||
\settowidth{\logorightwidth}{\insertlogoright}
|
||||
\addtolength{\logorightwidth}{10ex}
|
||||
\setlength{\maxlogowidth}{\maxof{\logoleftwidth}{\logorightwidth}}
|
||||
}
|
||||
\newcommand{\logoleft}[1]{
|
||||
\newcommand{\insertlogoleft}{#1}
|
||||
\settowidth{\logoleftwidth}{\insertlogoleft}
|
||||
\addtolength{\logoleftwidth}{10ex}
|
||||
\setlength{\maxlogowidth}{\maxof{\logoleftwidth}{\logorightwidth}}
|
||||
}
|
||||
|
||||
% Headline
|
||||
\setbeamertemplate{headline}
|
||||
{
|
||||
\begin{beamercolorbox}{headline}
|
||||
\begin{columns}
|
||||
\begin{column}{\maxlogowidth}
|
||||
\vskip5ex
|
||||
\ifdefined\insertlogoleft
|
||||
\vspace*{\fill}
|
||||
\hspace{10ex}
|
||||
\raggedright
|
||||
\insertlogoleft
|
||||
\vspace*{\fill}
|
||||
\else\fi
|
||||
\end{column}
|
||||
\begin{column}{\dimexpr\paperwidth-\maxlogowidth-\maxlogowidth}
|
||||
\usebeamerfont{headline}
|
||||
\vskip3ex
|
||||
\centering
|
||||
\ifx \inserttitle \empty \else
|
||||
{\usebeamerfont{headline title}\usebeamercolor[fg]{headline title}\inserttitle\\[0.5ex]}
|
||||
\fi
|
||||
\ifx \beamer@shortauthor \empty \else
|
||||
{\usebeamerfont{headline author}\usebeamercolor[fg]{headline author}\insertauthor\\[1ex]}
|
||||
\fi
|
||||
\ifx \insertinstitute \empty \else
|
||||
{\usebeamerfont{headline institute}\usebeamercolor[fg]{headline institute}\insertinstitute\\[1ex]}
|
||||
\fi
|
||||
\end{column}
|
||||
\begin{column}{\maxlogowidth}
|
||||
\vskip5ex
|
||||
\ifdefined\insertlogoright
|
||||
\vspace*{\fill}
|
||||
\raggedleft
|
||||
\insertlogoright
|
||||
\hspace{10ex}
|
||||
\vspace*{\fill}
|
||||
\else\fi
|
||||
\end{column}
|
||||
\end{columns}
|
||||
\vspace{5ex}
|
||||
\ifbeamercolorempty[bg]{headline rule}{}{
|
||||
\begin{beamercolorbox}[wd=\paperwidth,colsep=0.5ex]{headline rule}\end{beamercolorbox}
|
||||
}
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
|
||||
% Block
|
||||
\setbeamertemplate{block begin}
|
||||
{
|
||||
\begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block title}
|
||||
\vskip0pt
|
||||
\usebeamerfont{block title}\insertblocktitle
|
||||
\vskip-1.25ex
|
||||
\begin{beamercolorbox}[colsep=0.025ex]{block separator}\end{beamercolorbox}
|
||||
\end{beamercolorbox}
|
||||
{\parskip0pt\par}
|
||||
\usebeamerfont{block body}
|
||||
\vskip-0.5ex
|
||||
\begin{beamercolorbox}[colsep*=0ex]{block body}
|
||||
\justifying
|
||||
\setlength{\parskip}{1ex}
|
||||
\vskip-2ex
|
||||
}
|
||||
\setbeamertemplate{block end}
|
||||
{
|
||||
\end{beamercolorbox}
|
||||
\vskip0pt
|
||||
\vspace*{2ex}
|
||||
}
|
||||
|
||||
% Alert Block
|
||||
\setbeamertemplate{block alerted begin}
|
||||
{
|
||||
\begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block alerted title}
|
||||
\vskip0pt
|
||||
\usebeamerfont{block title}\insertblocktitle
|
||||
\vskip-1.25ex
|
||||
\begin{beamercolorbox}[colsep=0.025ex]{block alerted separator}\end{beamercolorbox}
|
||||
\end{beamercolorbox}
|
||||
{\parskip0pt\par}
|
||||
\usebeamerfont{block body}
|
||||
\vskip-0.5ex
|
||||
\begin{beamercolorbox}[colsep*=0ex]{block alerted body}
|
||||
\justifying
|
||||
\begin{adjustwidth}{1ex}{1ex}
|
||||
\setlength{\parskip}{1ex}
|
||||
\vskip-2ex
|
||||
}
|
||||
\setbeamertemplate{block alerted end}
|
||||
{
|
||||
\end{adjustwidth}
|
||||
\vskip1ex
|
||||
\end{beamercolorbox}
|
||||
\vskip0pt
|
||||
\vspace*{2ex}
|
||||
}
|
||||
|
||||
% Example Block
|
||||
\setbeamertemplate{block example begin}
|
||||
{
|
||||
\begin{beamercolorbox}[colsep*=0ex,dp=2ex,center]{block example title}
|
||||
\vskip0pt
|
||||
\usebeamerfont{block title}\insertblocktitle
|
||||
\vskip-1.25ex
|
||||
\begin{beamercolorbox}[colsep=0.025ex]{block example separator}\end{beamercolorbox}
|
||||
\end{beamercolorbox}
|
||||
{\parskip0pt\par}
|
||||
\usebeamerfont{block body}
|
||||
\vskip-0.5ex
|
||||
\begin{beamercolorbox}[colsep*=0ex]{block example body}
|
||||
\justifying
|
||||
\begin{adjustwidth}{1ex}{1ex}
|
||||
\setlength{\parskip}{1ex}
|
||||
\vskip-2ex
|
||||
}
|
||||
\setbeamertemplate{block example end}
|
||||
{
|
||||
\end{adjustwidth}
|
||||
\vskip1ex
|
||||
\end{beamercolorbox}
|
||||
\vskip0pt
|
||||
\vspace*{2ex}
|
||||
}
|
||||
|
||||
% Footer
|
||||
\newcommand{\footercontent}[1]{\newcommand{\insertfootercontent}{#1}}
|
||||
|
||||
\setbeamertemplate{footline}{
|
||||
\ifdefined\insertfootercontent
|
||||
\begin{beamercolorbox}[vmode]{headline}
|
||||
\ifbeamercolorempty[bg]{headline rule}{}{
|
||||
\begin{beamercolorbox}[wd=\paperwidth,colsep=0.25ex]{headline rule}\end{beamercolorbox}
|
||||
}
|
||||
\vspace{1.5ex}
|
||||
\hspace{\sepwidth}
|
||||
\usebeamerfont{footline}
|
||||
\centering
|
||||
\insertfootercontent
|
||||
\hspace{\sepwidth}
|
||||
\vspace{1.5ex}
|
||||
\end{beamercolorbox}
|
||||
\else\fi
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
@article{shannon1948communication,
|
||||
author = {Claude E. Shannon},
|
||||
title = {A Mathematical Theory of Communication},
|
||||
journal = {Bell System Technical Journal},
|
||||
year = 1948,
|
||||
volume = {27},
|
||||
number = {3},
|
||||
pages = {379-423},
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
% Gemini theme
|
||||
% https://github.com/anishathalye/gemini
|
||||
|
||||
\documentclass[final]{beamer}
|
||||
|
||||
% ====================
|
||||
% Packages
|
||||
% ====================
|
||||
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage[size=custom,width=120,height=72,scale=1.0]{beamerposter}
|
||||
\usetheme{gemini}
|
||||
\usecolortheme{gemini}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{booktabs}
|
||||
\usepackage{tikz}
|
||||
\usepackage{pgfplots}
|
||||
\pgfplotsset{compat=1.14}
|
||||
\usepackage{anyfontsize}
|
||||
|
||||
% ====================
|
||||
% Lengths
|
||||
% ====================
|
||||
|
||||
% If you have N columns, choose \sepwidth and \colwidth such that
|
||||
% (N+1)*\sepwidth + N*\colwidth = \paperwidth
|
||||
\newlength{\sepwidth}
|
||||
\newlength{\colwidth}
|
||||
\setlength{\sepwidth}{0.025\paperwidth}
|
||||
\setlength{\colwidth}{0.3\paperwidth}
|
||||
|
||||
\newcommand{\separatorcolumn}{\begin{column}{\sepwidth}\end{column}}
|
||||
|
||||
% ====================
|
||||
% Title
|
||||
% ====================
|
||||
|
||||
\title{Some fancy title: followed by some more text}
|
||||
|
||||
\author{Alyssa P. Hacker \inst{1} \and Ben Bitdiddle \inst{2} \and Lem E. Tweakit \inst{2}}
|
||||
|
||||
\institute[shortinst]{\inst{1} Some Institute \samelineand \inst{2} Another Institute}
|
||||
|
||||
% ====================
|
||||
% Footer (optional)
|
||||
% ====================
|
||||
|
||||
\footercontent{
|
||||
\href{https://www.example.com}{https://www.example.com} \hfill
|
||||
ABC Conference 2025, New York --- XYZ-1234 \hfill
|
||||
\href{mailto:alyssa.p.hacker@example.com}{alyssa.p.hacker@example.com}}
|
||||
% (can be left out to remove footer)
|
||||
|
||||
% ====================
|
||||
% Logo (optional)
|
||||
% ====================
|
||||
|
||||
% use this to include logos on the left and/or right side of the header:
|
||||
% \logoright{\includegraphics[height=7cm]{logo1.pdf}}
|
||||
% \logoleft{\includegraphics[height=7cm]{logo2.pdf}}
|
||||
|
||||
% ====================
|
||||
% Body
|
||||
% ====================
|
||||
|
||||
\begin{document}
|
||||
|
||||
\begin{frame}[t]
|
||||
\begin{columns}[t]
|
||||
\separatorcolumn
|
||||
|
||||
\begin{column}{\colwidth}
|
||||
|
||||
\begin{block}{A block title}
|
||||
|
||||
Some block contents, followed by a diagram, followed by a dummy paragraph.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\begin{tikzpicture}[scale=6]
|
||||
\draw[step=0.25cm,color=gray] (-1,-1) grid (1,1);
|
||||
\draw (1,0) -- (0.2,0.2) -- (0,1) -- (-0.2,0.2) -- (-1,0)
|
||||
-- (-0.2,-0.2) -- (0,-1) -- (0.2,-0.2) -- cycle;
|
||||
\end{tikzpicture}
|
||||
\caption{A figure caption.}
|
||||
\end{figure}
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ultricies
|
||||
eget libero ac ullamcorper. Integer et euismod ante. Aenean vestibulum
|
||||
lobortis augue, ut lobortis turpis rhoncus sed. Proin feugiat nibh a
|
||||
lacinia dignissim. Proin scelerisque, risus eget tempor fermentum, ex
|
||||
turpis condimentum urna, quis malesuada sapien arcu eu purus.
|
||||
|
||||
\end{block}
|
||||
|
||||
\begin{block}{A block containing a list}
|
||||
|
||||
Nam vulputate nunc felis, non condimentum lacus porta ultrices. Nullam sed
|
||||
sagittis metus. Etiam consectetur gravida urna quis suscipit.
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Mauris tempor} risus nulla, sed ornare
|
||||
\item \textbf{Libero tincidunt} a duis congue vitae
|
||||
\item \textbf{Dui ac pretium} morbi justo neque, ullamcorper
|
||||
\end{itemize}
|
||||
|
||||
Eget augue porta, bibendum venenatis tortor.
|
||||
|
||||
\end{block}
|
||||
|
||||
\begin{alertblock}{A highlighted block}
|
||||
|
||||
This block catches your eye, so \textbf{important stuff} should probably go
|
||||
here.
|
||||
|
||||
Curabitur eu libero vehicula, cursus est fringilla, luctus est. Morbi
|
||||
consectetur mauris quam, at finibus elit auctor ac. Aliquam erat volutpat.
|
||||
Aenean at nisl ut ex ullamcorper eleifend et eu augue. Aenean quis velit
|
||||
tristique odio convallis ultrices a ac odio.
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Fusce dapibus tellus} vel tellus semper finibus. In
|
||||
consequat, nibh sed mattis luctus, augue diam fermentum lectus.
|
||||
\item \textbf{In euismod erat metus} non ex. Vestibulum luctus augue in
|
||||
mi condimentum, at sollicitudin lorem viverra.
|
||||
\item \textbf{Suspendisse vulputate} mauris vel placerat consectetur.
|
||||
Mauris semper, purus ac hendrerit molestie, elit mi dignissim odio, in
|
||||
suscipit felis sapien vel ex.
|
||||
\end{itemize}
|
||||
|
||||
Aenean tincidunt risus eros, at gravida lorem sagittis vel. Vestibulum ante
|
||||
ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae.
|
||||
|
||||
\end{alertblock}
|
||||
|
||||
\end{column}
|
||||
|
||||
\separatorcolumn
|
||||
|
||||
\begin{column}{\colwidth}
|
||||
|
||||
\begin{block}{A block containing an enumerated list}
|
||||
|
||||
Vivamus congue volutpat elit non semper. Praesent molestie nec erat ac
|
||||
interdum. In quis suscipit erat. \textbf{Phasellus mauris felis, molestie
|
||||
ac pharetra quis}, tempus nec ante. Donec finibus ante vel purus mollis
|
||||
fermentum. Sed felis mi, pharetra eget nibh a, feugiat eleifend dolor. Nam
|
||||
mollis condimentum purus quis sodales. Nullam eu felis eu nulla eleifend
|
||||
bibendum nec eu lorem. Vivamus felis velit, volutpat ut facilisis ac,
|
||||
commodo in metus.
|
||||
|
||||
\begin{enumerate}
|
||||
\item \textbf{Morbi mauris purus}, egestas at vehicula et, convallis
|
||||
accumsan orci. Orci varius natoque penatibus et magnis dis parturient
|
||||
montes, nascetur ridiculus mus.
|
||||
\item \textbf{Cras vehicula blandit urna ut maximus}. Aliquam blandit nec
|
||||
massa ac sollicitudin. Curabitur cursus, metus nec imperdiet bibendum,
|
||||
velit lectus faucibus dolor, quis gravida metus mauris gravida turpis.
|
||||
\item \textbf{Vestibulum et massa diam}. Phasellus fermentum augue non
|
||||
nulla accumsan, non rhoncus lectus condimentum.
|
||||
\end{enumerate}
|
||||
|
||||
\end{block}
|
||||
|
||||
\begin{block}{Fusce aliquam magna velit}
|
||||
|
||||
Et rutrum ex euismod vel. Pellentesque ultricies, velit in fermentum
|
||||
vestibulum, lectus nisi pretium nibh, sit amet aliquam lectus augue vel
|
||||
velit. Suspendisse rhoncus massa porttitor augue feugiat molestie. Sed
|
||||
molestie ut orci nec malesuada. Sed ultricies feugiat est fringilla
|
||||
posuere.
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\begin{tikzpicture}
|
||||
\begin{axis}[
|
||||
scale only axis,
|
||||
no markers,
|
||||
domain=0:2*pi,
|
||||
samples=100,
|
||||
axis lines=center,
|
||||
axis line style={-},
|
||||
ticks=none]
|
||||
\addplot[red] {sin(deg(x))};
|
||||
\addplot[blue] {cos(deg(x))};
|
||||
\end{axis}
|
||||
\end{tikzpicture}
|
||||
\caption{Another figure caption.}
|
||||
\end{figure}
|
||||
|
||||
\end{block}
|
||||
|
||||
\begin{block}{Nam cursus consequat egestas}
|
||||
|
||||
Nulla eget sem quam. Ut aliquam volutpat nisi vestibulum convallis. Nunc a
|
||||
lectus et eros facilisis hendrerit eu non urna. Interdum et malesuada fames
|
||||
ac ante \textit{ipsum primis} in faucibus. Etiam sit amet velit eget sem
|
||||
euismod tristique. Praesent enim erat, porta vel mattis sed, pharetra sed
|
||||
ipsum. Morbi commodo condimentum massa, \textit{tempus venenatis} massa
|
||||
hendrerit quis. Maecenas sed porta est. Praesent mollis interdum lectus,
|
||||
sit amet sollicitudin risus tincidunt non.
|
||||
|
||||
Etiam sit amet tempus lorem, aliquet condimentum velit. Donec et nibh
|
||||
consequat, sagittis ex eget, dictum orci. Etiam quis semper ante. Ut eu
|
||||
mauris purus. Proin nec consectetur ligula. Mauris pretium molestie
|
||||
ullamcorper. Integer nisi neque, aliquet et odio non, sagittis porta justo.
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Sed consequat} id ante vel efficitur. Praesent congue massa
|
||||
sed est scelerisque, elementum mollis augue iaculis.
|
||||
\begin{itemize}
|
||||
\item In sed est finibus, vulputate
|
||||
nunc gravida, pulvinar lorem. In maximus nunc dolor, sed auctor eros
|
||||
porttitor quis.
|
||||
\item Fusce ornare dignissim nisi. Nam sit amet risus vel lacus
|
||||
tempor tincidunt eu a arcu.
|
||||
\item Donec rhoncus vestibulum erat, quis aliquam leo
|
||||
gravida egestas.
|
||||
\end{itemize}
|
||||
\item \textbf{Sed luctus, elit sit amet} dictum maximus, diam dolor
|
||||
faucibus purus, sed lobortis justo erat id turpis.
|
||||
\item \textbf{Pellentesque facilisis dolor in leo} bibendum congue.
|
||||
Maecenas congue finibus justo, vitae eleifend urna facilisis at.
|
||||
\end{itemize}
|
||||
|
||||
\end{block}
|
||||
|
||||
\end{column}
|
||||
|
||||
\separatorcolumn
|
||||
|
||||
\begin{column}{\colwidth}
|
||||
|
||||
\begin{exampleblock}{A highlighted block containing some math}
|
||||
|
||||
A different kind of highlighted block.
|
||||
|
||||
$$
|
||||
\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
|
||||
$$
|
||||
|
||||
Interdum et malesuada fames $\{1, 4, 9, \ldots\}$ ac ante ipsum primis in
|
||||
faucibus. Cras eleifend dolor eu nulla suscipit suscipit. Sed lobortis non
|
||||
felis id vulputate.
|
||||
|
||||
\heading{A heading inside a block}
|
||||
|
||||
Praesent consectetur mi $x^2 + y^2$ metus, nec vestibulum justo viverra
|
||||
nec. Proin eget nulla pretium, egestas magna aliquam, mollis neque. Vivamus
|
||||
dictum $\mathbf{u}^\intercal\mathbf{v}$ sagittis odio, vel porta erat
|
||||
congue sed. Maecenas ut dolor quis arcu auctor porttitor.
|
||||
|
||||
\heading{Another heading inside a block}
|
||||
|
||||
Sed augue erat, scelerisque a purus ultricies, placerat porttitor neque.
|
||||
Donec $P(y \mid x)$ fermentum consectetur $\nabla_x P(y \mid x)$ sapien
|
||||
sagittis egestas. Duis eget leo euismod nunc viverra imperdiet nec id
|
||||
justo.
|
||||
|
||||
\end{exampleblock}
|
||||
|
||||
\begin{block}{Nullam vel erat at velit convallis laoreet}
|
||||
|
||||
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
|
||||
inceptos himenaeos. Phasellus libero enim, gravida sed erat sit amet,
|
||||
scelerisque congue diam. Fusce dapibus dui ut augue pulvinar iaculis.
|
||||
|
||||
\begin{table}
|
||||
\centering
|
||||
\begin{tabular}{l r r c}
|
||||
\toprule
|
||||
\textbf{First column} & \textbf{Second column} & \textbf{Third column} & \textbf{Fourth} \\
|
||||
\midrule
|
||||
Foo & 13.37 & 384,394 & $\alpha$ \\
|
||||
Bar & 2.17 & 1,392 & $\beta$ \\
|
||||
Baz & 3.14 & 83,742 & $\delta$ \\
|
||||
Qux & 7.59 & 974 & $\gamma$ \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\caption{A table caption.}
|
||||
\end{table}
|
||||
|
||||
Donec quis posuere ligula. Nunc feugiat elit a mi malesuada consequat. Sed
|
||||
imperdiet augue ac nibh aliquet tristique. Aenean eu tortor vulputate,
|
||||
eleifend lorem in, dictum urna. Proin auctor ante in augue tincidunt
|
||||
tempor. Proin pellentesque vulputate odio, ac gravida nulla posuere
|
||||
efficitur. Aenean at velit vel dolor blandit molestie. Mauris laoreet
|
||||
commodo quam, non luctus nibh ullamcorper in. Class aptent taciti sociosqu
|
||||
ad litora torquent per conubia nostra, per inceptos himenaeos.
|
||||
|
||||
Nulla varius finibus volutpat. Mauris molestie lorem tincidunt, iaculis
|
||||
libero at, gravida ante. Phasellus at felis eu neque suscipit suscipit.
|
||||
Integer ullamcorper, dui nec pretium ornare, urna dolor consequat libero,
|
||||
in feugiat elit lorem euismod lacus. Pellentesque sit amet dolor mollis,
|
||||
auctor urna non, tempus sem.
|
||||
|
||||
\end{block}
|
||||
|
||||
\begin{block}{References}
|
||||
|
||||
\nocite{*}
|
||||
\footnotesize{\bibliographystyle{plain}\bibliography{poster}}
|
||||
|
||||
\end{block}
|
||||
|
||||
\end{column}
|
||||
|
||||
\separatorcolumn
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
||||
@@ -0,0 +1,39 @@
|
||||
%%
|
||||
%% This is file `beamercolorthememetropolis-highcontrast.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamercolorthememetropolis-highcontrast.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamercolorthememetropolis-highcontrast}[2017/01/23 Metropolis color theme]
|
||||
\usecolortheme{metropolis}
|
||||
|
||||
\definecolor{mAlert}{HTML}{AD003D}
|
||||
\definecolor{mExample}{HTML}{005580}
|
||||
|
||||
\setbeamercolor{normal text}{%
|
||||
fg=black,
|
||||
bg=white
|
||||
}
|
||||
\setbeamercolor{alerted text}{%
|
||||
fg=mAlert,
|
||||
}
|
||||
\setbeamercolor{example text}{%
|
||||
fg=mExample,
|
||||
}
|
||||
\mode<all>
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamercolorthememetropolis-highcontrast.sty'.
|
||||
@@ -0,0 +1,138 @@
|
||||
%%
|
||||
%% This is file `beamercolorthememetropolis.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamercolorthememetropolis.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamercolorthememetropolis}[2017/01/23 Metropolis color theme]
|
||||
\RequirePackage{pgfopts}
|
||||
\pgfkeys{
|
||||
/metropolis/color/block/.cd,
|
||||
.is choice,
|
||||
transparent/.code=\metropolis@block@transparent,
|
||||
fill/.code=\metropolis@block@fill,
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/color/background/.cd,
|
||||
.is choice,
|
||||
dark/.code=\metropolis@colors@dark,
|
||||
light/.code=\metropolis@colors@light,
|
||||
}
|
||||
\newcommand{\metropolis@color@setdefaults}{
|
||||
\pgfkeys{/metropolis/color/.cd,
|
||||
background=light,
|
||||
block=transparent,
|
||||
}
|
||||
}
|
||||
\definecolor{mDarkBrown}{HTML}{604c38}
|
||||
\definecolor{mDarkTeal}{HTML}{23373b}
|
||||
\definecolor{mLightBrown}{HTML}{EB811B}
|
||||
\definecolor{mLightGreen}{HTML}{14B03D}
|
||||
\newcommand{\metropolis@colors@dark}{
|
||||
\setbeamercolor{normal text}{%
|
||||
fg=black!2,
|
||||
bg=mDarkTeal
|
||||
}
|
||||
\usebeamercolor[fg]{normal text}
|
||||
}
|
||||
\newcommand{\metropolis@colors@light}{
|
||||
\setbeamercolor{normal text}{%
|
||||
fg=mDarkTeal,
|
||||
bg=black!2
|
||||
}
|
||||
}
|
||||
\setbeamercolor{alerted text}{%
|
||||
fg=mLightBrown
|
||||
}
|
||||
\setbeamercolor{example text}{%
|
||||
fg=mLightGreen
|
||||
}
|
||||
\setbeamercolor{titlelike}{use=normal text, parent=normal text}
|
||||
\setbeamercolor{author}{use=normal text, parent=normal text}
|
||||
\setbeamercolor{date}{use=normal text, parent=normal text}
|
||||
\setbeamercolor{institute}{use=normal text, parent=normal text}
|
||||
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
|
||||
\setbeamercolor{palette primary}{%
|
||||
use=normal text,
|
||||
fg=normal text.bg,
|
||||
bg=normal text.fg
|
||||
}
|
||||
\setbeamercolor{frametitle}{%
|
||||
use=palette primary,
|
||||
parent=palette primary
|
||||
}
|
||||
\setbeamercolor{progress bar}{%
|
||||
use=alerted text,
|
||||
fg=alerted text.fg,
|
||||
bg=alerted text.fg!50!black!30
|
||||
}
|
||||
\setbeamercolor{title separator}{
|
||||
use=progress bar,
|
||||
parent=progress bar
|
||||
}
|
||||
\setbeamercolor{progress bar in head/foot}{%
|
||||
use=progress bar,
|
||||
parent=progress bar
|
||||
}
|
||||
\setbeamercolor{progress bar in section page}{
|
||||
use=progress bar,
|
||||
parent=progress bar
|
||||
}
|
||||
\newcommand{\metropolis@block@transparent}{
|
||||
\setbeamercolor{block title}{%
|
||||
use=normal text,
|
||||
fg=normal text.fg,
|
||||
bg=
|
||||
}
|
||||
\setbeamercolor{block body}{
|
||||
bg=
|
||||
}
|
||||
}
|
||||
\newcommand{\metropolis@block@fill}{
|
||||
\setbeamercolor{block title}{%
|
||||
use=normal text,
|
||||
fg=normal text.fg,
|
||||
bg=normal text.bg!80!fg
|
||||
}
|
||||
\setbeamercolor{block body}{
|
||||
use={block title, normal text},
|
||||
bg=block title.bg!50!normal text.bg
|
||||
}
|
||||
}
|
||||
\setbeamercolor{block title alerted}{%
|
||||
use={block title, alerted text},
|
||||
bg=block title.bg,
|
||||
fg=alerted text.fg
|
||||
}
|
||||
\setbeamercolor{block title example}{%
|
||||
use={block title, example text},
|
||||
bg=block title.bg,
|
||||
fg=example text.fg
|
||||
}
|
||||
\setbeamercolor{block body alerted}{use=block body, parent=block body}
|
||||
\setbeamercolor{block body example}{use=block body, parent=block body}
|
||||
\setbeamercolor{footnote}{fg=normal text.fg!90}
|
||||
\setbeamercolor{footnote mark}{fg=.}
|
||||
\setbeamercolor{bibliography entry author}{fg=, bg=}
|
||||
\setbeamercolor{bibliography entry title}{fg=, bg=}
|
||||
\setbeamercolor{bibliography entry location}{fg=, bg=}
|
||||
\setbeamercolor{bibliography entry note}{fg=, bg=}
|
||||
\metropolis@color@setdefaults
|
||||
\ProcessPgfPackageOptions{/metropolis/color}
|
||||
\mode<all>
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamercolorthememetropolis.sty'.
|
||||
@@ -0,0 +1,325 @@
|
||||
%%
|
||||
%% This is file `beamerfontthememetropolis.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamerfontthememetropolis.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamerfontthememetropolis}[2017/01/23 Metropolis font theme]
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{ifxetex}
|
||||
\RequirePackage{ifluatex}
|
||||
\RequirePackage{pgfopts}
|
||||
\ifboolexpr{bool {xetex} or bool {luatex}}{
|
||||
\@ifpackageloaded{fontspec}{
|
||||
\PassOptionsToPackage{no-math}{fontspec}
|
||||
}{
|
||||
\RequirePackage[no-math]{fontspec}
|
||||
}
|
||||
\newcounter{fontsnotfound}
|
||||
\newcommand{\checkfont}[1]{%
|
||||
\suppressfontnotfounderror=1%
|
||||
\font\x = "#1" at 10pt
|
||||
\selectfont
|
||||
\ifx\x\nullfont%
|
||||
\stepcounter{fontsnotfound}%
|
||||
\fi%
|
||||
\suppressfontnotfounderror=0%
|
||||
}
|
||||
|
||||
\newcommand{\iffontsavailable}[3]{%
|
||||
\setcounter{fontsnotfound}{0}%
|
||||
\expandafter\forcsvlist\expandafter%
|
||||
\checkfont\expandafter{#1}%
|
||||
\ifnum\value{fontsnotfound}=0%
|
||||
#2%
|
||||
\else%
|
||||
#3%
|
||||
\fi%
|
||||
}
|
||||
\iffontsavailable{Fira Sans Light,%
|
||||
Fira Sans Light Italic,%
|
||||
Fira Sans,%
|
||||
Fira Sans Italic}%
|
||||
{%
|
||||
\setsansfont[ItalicFont={Fira Sans Light Italic},%
|
||||
BoldFont={Fira Sans},%
|
||||
BoldItalicFont={Fira Sans Italic}]%
|
||||
{Fira Sans Light}%
|
||||
}{%
|
||||
\iffontsavailable{Fira Sans Light OT,%
|
||||
Fira Sans Light Italic OT,%
|
||||
Fira Sans OT,%
|
||||
Fira Sans Italic OT}%
|
||||
{%
|
||||
\setsansfont[ItalicFont={Fira Sans Light Italic OT},%
|
||||
BoldFont={Fira Sans OT},%
|
||||
BoldItalicFont={Fira Sans Italic OT}]%
|
||||
{Fira Sans Light OT}%
|
||||
}{%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Could not find Fira Sans fonts%
|
||||
}
|
||||
}
|
||||
}
|
||||
\iffontsavailable{Fira Mono, Fira Mono Bold}{%
|
||||
\setmonofont[BoldFont={Fira Mono Medium}]{Fira Mono}%
|
||||
}{%
|
||||
\iffontsavailable{Fira Mono OT, Fira Mono Bold OT}{%
|
||||
\setmonofont[BoldFont={Fira Mono Medium OT}]{Fira Mono OT}%
|
||||
}{%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Could not find Fira Mono fonts%
|
||||
}
|
||||
}
|
||||
}
|
||||
\AtBeginEnvironment{tabular}{%
|
||||
\addfontfeature{Numbers={Monospaced}}%
|
||||
}
|
||||
}{%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
You need to compile with XeLaTeX or LuaLaTeX to use the Fira fonts%
|
||||
}
|
||||
}
|
||||
\setbeamerfont{title}{size=\Large,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont{author}{size=\small}
|
||||
\setbeamerfont{date}{size=\small}
|
||||
\setbeamerfont{section title}{size=\Large,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont{block title}{size=\normalsize,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont{block title alerted}{size=\normalsize,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont*{subtitle}{size=\large}
|
||||
\setbeamerfont{frametitle}{size=\large,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont{caption}{size=\small}
|
||||
\setbeamerfont{caption name}{series=\bfseries}
|
||||
\setbeamerfont{description item}{series=\bfseries}
|
||||
\setbeamerfont{page number in head/foot}{size=\scriptsize}
|
||||
\setbeamerfont{bibliography entry author}{size=\normalsize,%
|
||||
series=\normalfont}
|
||||
\setbeamerfont{bibliography entry title}{size=\normalsize,%
|
||||
series=\bfseries}
|
||||
\setbeamerfont{bibliography entry location}{size=\normalsize,%
|
||||
series=\normalfont}
|
||||
\setbeamerfont{bibliography entry note}{size=\small,%
|
||||
series=\normalfont}
|
||||
\setbeamerfont{standout}{size=\Large,%
|
||||
series=\bfseries}
|
||||
\pgfkeys{
|
||||
/metropolis/font/titleformat title/.cd,
|
||||
.is choice,
|
||||
regular/.code={%
|
||||
\let\metropolis@titleformat\@empty%
|
||||
\setbeamerfont{title}{shape=\normalfont}%
|
||||
},
|
||||
smallcaps/.code={%
|
||||
\let\metropolis@titleformat\@empty%
|
||||
\setbeamerfont{title}{shape=\scshape}%
|
||||
},
|
||||
allsmallcaps/.code={%
|
||||
\let\metropolis@titleformat\lowercase%
|
||||
\setbeamerfont{title}{shape=\scshape}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat title=allsmallcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
allcaps/.code={%
|
||||
\let\metropolis@titleformat\uppercase%
|
||||
\setbeamerfont{title}{shape=\normalfont}
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat title=allcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/font/titleformat subtitle/.cd,
|
||||
.is choice,
|
||||
regular/.code={%
|
||||
\let\metropolis@subtitleformat\@empty%
|
||||
\setbeamerfont{subtitle}{shape=\normalfont}%
|
||||
},
|
||||
smallcaps/.code={%
|
||||
\let\metropolis@subtitleformat\@empty%
|
||||
\setbeamerfont{subtitle}{shape=\scshape}%
|
||||
},
|
||||
allsmallcaps/.code={%
|
||||
\let\metropolis@subtitleformat\lowercase%
|
||||
\setbeamerfont{subtitle}{shape=\scshape}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat subtitle=allsmallcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
allcaps/.code={%
|
||||
\let\metropolis@subtitleformat\uppercase%
|
||||
\setbeamerfont{subtitle}{shape=\normalfont}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat subtitle=allcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/font/titleformat section/.cd,
|
||||
.is choice,
|
||||
regular/.code={%
|
||||
\let\metropolis@sectiontitleformat\@empty%
|
||||
\setbeamerfont{section title}{shape=\normalfont}%
|
||||
},
|
||||
smallcaps/.code={%
|
||||
\let\metropolis@sectiontitleformat\@empty%
|
||||
\setbeamerfont{section title}{shape=\scshape}%
|
||||
},
|
||||
allsmallcaps/.code={%
|
||||
\let\metropolis@sectiontitleformat\MakeLowercase%
|
||||
\setbeamerfont{section title}{shape=\scshape}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat section=allsmallcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
allcaps/.code={%
|
||||
\let\metropolis@sectiontitleformat\MakeUppercase%
|
||||
\setbeamerfont{section title}{shape=\normalfont}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat section=allcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/font/titleformat frame/.cd,
|
||||
.is choice,
|
||||
regular/.code={%
|
||||
\let\metropolis@frametitleformat\@empty%
|
||||
\setbeamerfont{frametitle}{shape=\normalfont}%
|
||||
},
|
||||
smallcaps/.code={%
|
||||
\let\metropolis@frametitleformat\@empty%
|
||||
\setbeamerfont{frametitle}{shape=\scshape}%
|
||||
},
|
||||
allsmallcaps/.code={%
|
||||
\let\metropolis@frametitleformat\MakeLowercase%
|
||||
\setbeamerfont{frametitle}{shape=\scshape}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat frame=allsmallcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
allcaps/.code={%
|
||||
\let\metropolis@frametitleformat\MakeUppercase%
|
||||
\setbeamerfont{frametitle}{shape=\normalfont}
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat frame=allcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/font/.cd,
|
||||
titleformattitle/.code=\pgfkeysalso{titleformat title=#1},
|
||||
titleformatsubtitle/.code=\pgfkeysalso{titleformat subtitle=#1},
|
||||
titleformatsection/.code=\pgfkeysalso{titleformat section=#1},
|
||||
titleformatframe/.code=\pgfkeysalso{titleformat frame=#1},
|
||||
}
|
||||
\newcommand{\metropolis@font@setdefaults}{
|
||||
\pgfkeys{/metropolis/font/.cd,
|
||||
titleformat title=regular,
|
||||
titleformat subtitle=regular,
|
||||
titleformat section=regular,
|
||||
titleformat frame=regular,
|
||||
}
|
||||
}
|
||||
\def\metropolis@titleformat#1{#1}
|
||||
\def\metropolis@subtitleformat#1{#1}
|
||||
\def\metropolis@sectiontitleformat#1{#1}
|
||||
\def\metropolis@frametitleformat#1{#1}
|
||||
\patchcmd{\beamer@title}%
|
||||
{\def\inserttitle{#2}}%
|
||||
{\def\inserttitle{\metropolis@titleformat{#2}}}%
|
||||
{}%
|
||||
{\PackageError{beamerfontthememetropolis}{Patching title failed}\@ehc}
|
||||
\patchcmd{\beamer@subtitle}%
|
||||
{\def\insertsubtitle{#2}}%
|
||||
{\def\insertsubtitle{\metropolis@subtitleformat{#2}}}%
|
||||
{}%
|
||||
{\PackageError{beamerfontthememetropolis}{Patching subtitle failed}\@ehc}
|
||||
\patchcmd{\sectionentry}
|
||||
{\def\insertsectionhead{#2}}
|
||||
{\def\insertsectionhead{\metropolis@sectiontitleformat{#2}}}
|
||||
{}
|
||||
{\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc}
|
||||
\@tempswafalse
|
||||
\patchcmd{\beamer@section}
|
||||
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
||||
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||
\noexpand\metropolis@sectiontitleformat{\unexpanded{#1}}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\patchcmd{\beamer@section}
|
||||
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
||||
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
|
||||
\metropolis@sectiontitleformat{#1}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\patchcmd{\beamer@section}
|
||||
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
||||
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||
\noexpand\metropolis@sectiontitleformat{#1}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\if@tempswa\else
|
||||
\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc
|
||||
\fi
|
||||
\@tempswafalse
|
||||
\patchcmd{\beamer@subsection}
|
||||
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
|
||||
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||
\noexpand\metropolis@sectiontitleformat{\unexpanded{#1}}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\patchcmd{\beamer@subsection}
|
||||
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
|
||||
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{%
|
||||
\metropolis@sectiontitleformat{#1}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\patchcmd{\beamer@subsection}
|
||||
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
|
||||
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
|
||||
\noexpand\metropolis@sectiontitleformat{#1}}}}
|
||||
{\@tempswatrue}
|
||||
{}
|
||||
\if@tempswa\else
|
||||
\PackageError{beamerfontthememetropolis}{Patching section title failed}\@ehc
|
||||
\fi
|
||||
\patchcmd{\beamer@@frametitle}
|
||||
{{%
|
||||
\gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space%
|
||||
\usebeamertemplate*{frametitle continuation}\fi}}%
|
||||
\gdef\beamer@frametitle{#2}%
|
||||
\gdef\beamer@shortframetitle{#1}%
|
||||
}}
|
||||
{{%
|
||||
\gdef\insertframetitle{{\metropolis@frametitleformat{#2}\ifnum%
|
||||
\beamer@autobreakcount>0\relax{}\space%
|
||||
\usebeamertemplate*{frametitle continuation}\fi}}%
|
||||
\gdef\beamer@frametitle{#2}%
|
||||
\gdef\beamer@shortframetitle{#1}%
|
||||
}}
|
||||
{}
|
||||
{\PackageError{beamerfontthememetropolis}{Patching frame title failed}\@ehc}
|
||||
\metropolis@font@setdefaults
|
||||
\ProcessPgfPackageOptions{/metropolis/font}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamerfontthememetropolis.sty'.
|
||||
@@ -0,0 +1,297 @@
|
||||
%%
|
||||
%% This is file `beamerinnerthememetropolis.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamerinnerthememetropolis.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamerinnerthememetropolis}[2017/01/23 Metropolis inner theme]
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{keyval}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{pgfopts}
|
||||
\RequirePackage{tikz}
|
||||
\pgfkeys{
|
||||
/metropolis/inner/sectionpage/.cd,
|
||||
.is choice,
|
||||
none/.code=\metropolis@disablesectionpage,
|
||||
simple/.code={\metropolis@enablesectionpage
|
||||
\setbeamertemplate{section page}[simple]},
|
||||
progressbar/.code={\metropolis@enablesectionpage
|
||||
\setbeamertemplate{section page}[progressbar]},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/inner/subsectionpage/.cd,
|
||||
.is choice,
|
||||
none/.code=\metropolis@disablesubsectionpage,
|
||||
simple/.code={\metropolis@enablesubsectionpage
|
||||
\setbeamertemplate{section page}[simple]},
|
||||
progressbar/.code={\metropolis@enablesubsectionpage
|
||||
\setbeamertemplate{section page}[progressbar]},
|
||||
}
|
||||
\newcommand{\metropolis@inner@setdefaults}{
|
||||
\pgfkeys{/metropolis/inner/.cd,
|
||||
sectionpage=progressbar,
|
||||
subsectionpage=none
|
||||
}
|
||||
}
|
||||
\setbeamertemplate{title page}{
|
||||
\begin{minipage}[b][\paperheight]{\textwidth}
|
||||
\ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
|
||||
\vfill%
|
||||
\ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
|
||||
\ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
|
||||
\usebeamertemplate*{title separator}
|
||||
\ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
|
||||
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
|
||||
\ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
|
||||
\vfill
|
||||
\vspace*{1mm}
|
||||
\end{minipage}
|
||||
}
|
||||
\def\maketitle{%
|
||||
\ifbeamer@inframe
|
||||
\titlepage
|
||||
\else
|
||||
\frame[plain,noframenumbering]{\titlepage}
|
||||
\fi
|
||||
}
|
||||
\def\titlepage{%
|
||||
\usebeamertemplate{title page}
|
||||
}
|
||||
\setbeamertemplate{title graphic}{
|
||||
\vbox to 0pt {
|
||||
\vspace*{2em}
|
||||
\inserttitlegraphic%
|
||||
}%
|
||||
\nointerlineskip%
|
||||
}
|
||||
\setbeamertemplate{title}{
|
||||
\raggedright%
|
||||
\linespread{1.0}%
|
||||
\inserttitle%
|
||||
\par%
|
||||
\vspace*{0.5em}
|
||||
}
|
||||
\setbeamertemplate{subtitle}{
|
||||
\raggedright%
|
||||
\insertsubtitle%
|
||||
\par%
|
||||
\vspace*{0.5em}
|
||||
}
|
||||
\newlength{\metropolis@titleseparator@linewidth}
|
||||
\setlength{\metropolis@titleseparator@linewidth}{0.4pt}
|
||||
\setbeamertemplate{title separator}{
|
||||
\tikzexternaldisable%
|
||||
\begin{tikzpicture}
|
||||
\fill[fg] (0,0) rectangle (\textwidth, \metropolis@titleseparator@linewidth);
|
||||
\end{tikzpicture}%
|
||||
\tikzexternalenable%
|
||||
\par%
|
||||
}
|
||||
\setbeamertemplate{author}{
|
||||
\vspace*{2em}
|
||||
\insertauthor%
|
||||
\par%
|
||||
\vspace*{0.25em}
|
||||
}
|
||||
\setbeamertemplate{date}{
|
||||
\insertdate%
|
||||
\par%
|
||||
}
|
||||
\setbeamertemplate{institute}{
|
||||
\vspace*{3mm}
|
||||
\insertinstitute%
|
||||
\par%
|
||||
}
|
||||
\defbeamertemplate{section page}{simple}{
|
||||
\begin{center}
|
||||
\usebeamercolor[fg]{section title}
|
||||
\usebeamerfont{section title}
|
||||
\insertsectionhead\par
|
||||
\ifx\insertsubsectionhead\@empty\else
|
||||
\usebeamercolor[fg]{subsection title}
|
||||
\usebeamerfont{subsection title}
|
||||
\insertsubsectionhead
|
||||
\fi
|
||||
\end{center}
|
||||
}
|
||||
\defbeamertemplate{section page}{progressbar}{
|
||||
\centering
|
||||
\begin{minipage}{22em}
|
||||
\raggedright
|
||||
\usebeamercolor[fg]{section title}
|
||||
\usebeamerfont{section title}
|
||||
\insertsectionhead\\[-1ex]
|
||||
\usebeamertemplate*{progress bar in section page}
|
||||
\par
|
||||
\ifx\insertsubsectionhead\@empty\else%
|
||||
\usebeamercolor[fg]{subsection title}%
|
||||
\usebeamerfont{subsection title}%
|
||||
\insertsubsectionhead
|
||||
\fi
|
||||
\end{minipage}
|
||||
\par
|
||||
\vspace{\baselineskip}
|
||||
}
|
||||
\newcommand{\metropolis@disablesectionpage}{
|
||||
\AtBeginSection{
|
||||
% intentionally empty
|
||||
}
|
||||
}
|
||||
\newcommand{\metropolis@enablesectionpage}{
|
||||
\AtBeginSection{
|
||||
\ifbeamer@inframe
|
||||
\sectionpage
|
||||
\else
|
||||
\frame[plain,c,noframenumbering]{\sectionpage}
|
||||
\fi
|
||||
}
|
||||
}
|
||||
\setbeamertemplate{subsection page}{%
|
||||
\usebeamertemplate*{section page}
|
||||
}
|
||||
\newcommand{\metropolis@disablesubsectionpage}{
|
||||
\AtBeginSubsection{
|
||||
% intentionally empty
|
||||
}
|
||||
}
|
||||
\newcommand{\metropolis@enablesubsectionpage}{
|
||||
\AtBeginSubsection{
|
||||
\ifbeamer@inframe
|
||||
\subsectionpage
|
||||
\else
|
||||
\frame[plain,c,noframenumbering]{\subsectionpage}
|
||||
\fi
|
||||
}
|
||||
}
|
||||
\newlength{\metropolis@progressonsectionpage}
|
||||
\newlength{\metropolis@progressonsectionpage@linewidth}
|
||||
\setlength{\metropolis@progressonsectionpage@linewidth}{0.4pt}
|
||||
\setbeamertemplate{progress bar in section page}{
|
||||
\setlength{\metropolis@progressonsectionpage}{%
|
||||
\textwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||
}%
|
||||
\tikzexternaldisable%
|
||||
\begin{tikzpicture}
|
||||
\fill[bg] (0,0) rectangle (\textwidth, \metropolis@progressonsectionpage@linewidth);
|
||||
\fill[fg] (0,0) rectangle (\metropolis@progressonsectionpage, \metropolis@progressonsectionpage@linewidth);
|
||||
\end{tikzpicture}%
|
||||
\tikzexternalenable%
|
||||
}
|
||||
\def\inserttotalframenumber{100}
|
||||
\newlength{\metropolis@blocksep}
|
||||
\newlength{\metropolis@blockadjust}
|
||||
\setlength{\metropolis@blocksep}{0.75ex}
|
||||
\setlength{\metropolis@blockadjust}{0.25ex}
|
||||
\providecommand{\metropolis@strut}{%
|
||||
\vphantom{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz()}%
|
||||
}
|
||||
\newcommand{\metropolis@block}[1]{
|
||||
\par\vskip\medskipamount%
|
||||
\setlength{\parskip}{0pt}
|
||||
\ifbeamercolorempty[bg]{block title#1}{%
|
||||
\begin{beamercolorbox}[rightskip=0pt plus 4em]{block title#1}}{%
|
||||
\ifbeamercolorempty[bg]{block title}{%
|
||||
\begin{beamercolorbox}[rightskip=0pt plus 4em]{block title#1}%
|
||||
}%
|
||||
{%
|
||||
\begin{beamercolorbox}[
|
||||
sep=\dimexpr\metropolis@blocksep-\metropolis@blockadjust\relax,
|
||||
leftskip=\metropolis@blockadjust,
|
||||
rightskip=\dimexpr\metropolis@blockadjust plus 4em\relax
|
||||
]{block title#1}%
|
||||
}}%
|
||||
\usebeamerfont*{block title#1}%
|
||||
\metropolis@strut%
|
||||
\insertblocktitle%
|
||||
\metropolis@strut%
|
||||
\end{beamercolorbox}%
|
||||
\nointerlineskip%
|
||||
\ifbeamercolorempty[bg]{block body#1}{%
|
||||
\begin{beamercolorbox}[vmode]{block body#1}}{
|
||||
\ifbeamercolorempty[bg]{block body}{%
|
||||
\begin{beamercolorbox}[vmode]{block body#1}%
|
||||
}{%
|
||||
\begin{beamercolorbox}[sep=\metropolis@blocksep, vmode]{block body#1}%
|
||||
\vspace{-\metropolis@parskip}
|
||||
}}%
|
||||
\usebeamerfont{block body#1}%
|
||||
\setlength{\parskip}{\metropolis@parskip}%
|
||||
}
|
||||
\setbeamertemplate{block begin}{\metropolis@block{}}
|
||||
\setbeamertemplate{block alerted begin}{\metropolis@block{ alerted}}
|
||||
\setbeamertemplate{block example begin}{\metropolis@block{ example}}
|
||||
\setbeamertemplate{block end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||
\setbeamertemplate{block alerted end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||
\setbeamertemplate{block example end}{\end{beamercolorbox}\vspace*{0.2ex}}
|
||||
\setbeamertemplate{itemize items}{\textbullet}
|
||||
\setbeamertemplate{caption label separator}{: }
|
||||
\setbeamertemplate{caption}[numbered]
|
||||
\setbeamertemplate{footnote}{%
|
||||
\parindent 0em\noindent%
|
||||
\raggedright
|
||||
\usebeamercolor{footnote}\hbox to 0.8em{\hfil\insertfootnotemark}\insertfootnotetext\par%
|
||||
}
|
||||
\newlength{\metropolis@parskip}
|
||||
\setlength{\metropolis@parskip}{0.5em}
|
||||
\setlength{\parskip}{\metropolis@parskip}
|
||||
\linespread{1.15}
|
||||
\define@key{beamerframe}{c}[true]{% centered
|
||||
\beamer@frametopskip=0pt plus 1fill\relax%
|
||||
\beamer@framebottomskip=0pt plus 1fill\relax%
|
||||
\beamer@frametopskipautobreak=0pt plus .4\paperheight\relax%
|
||||
\beamer@framebottomskipautobreak=0pt plus .6\paperheight\relax%
|
||||
\def\beamer@initfirstlineunskip{}%
|
||||
}
|
||||
\providebool{metropolis@standout}
|
||||
\define@key{beamerframe}{standout}[true]{%
|
||||
\booltrue{metropolis@standout}
|
||||
\begingroup
|
||||
\setkeys{beamerframe}{c}
|
||||
\setkeys{beamerframe}{noframenumbering}
|
||||
\ifbeamercolorempty[bg]{palette primary}{
|
||||
\setbeamercolor{background canvas}{
|
||||
use=palette primary,
|
||||
bg=-palette primary.fg
|
||||
}
|
||||
}{
|
||||
\setbeamercolor{background canvas}{
|
||||
use=palette primary,
|
||||
bg=palette primary.bg
|
||||
}
|
||||
}
|
||||
\setbeamercolor{local structure}{
|
||||
fg=palette primary.fg
|
||||
}
|
||||
\usebeamercolor[fg]{palette primary}
|
||||
}
|
||||
\pretocmd{\beamer@reseteecodes}{%
|
||||
\ifbool{metropolis@standout}{
|
||||
\endgroup
|
||||
\boolfalse{metropolis@standout}
|
||||
}{}
|
||||
}{}{}
|
||||
\AtBeginEnvironment{beamer@frameslide}{
|
||||
\ifbool{metropolis@standout}{
|
||||
\centering
|
||||
\usebeamerfont{standout}
|
||||
}{}
|
||||
}
|
||||
\metropolis@inner@setdefaults
|
||||
\ProcessPgfPackageOptions{/metropolis/inner}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamerinnerthememetropolis.sty'.
|
||||
@@ -0,0 +1,137 @@
|
||||
%%
|
||||
%% This is file `beamerouterthememetropolis.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamerouterthememetropolis.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamerouterthememetropolis}[2017/01/23 Metropolis outer theme]
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{pgfopts}
|
||||
\pgfkeys{
|
||||
/metropolis/outer/numbering/.cd,
|
||||
.is choice,
|
||||
none/.code=\setbeamertemplate{frame numbering}[none],
|
||||
counter/.code=\setbeamertemplate{frame numbering}[counter],
|
||||
fraction/.code=\setbeamertemplate{frame numbering}[fraction],
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/outer/progressbar/.cd,
|
||||
.is choice,
|
||||
none/.code={%
|
||||
\setbeamertemplate{headline}[plain]
|
||||
\setbeamertemplate{frametitle}[plain]
|
||||
\setbeamertemplate{footline}[plain]
|
||||
},
|
||||
head/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
||||
\addtobeamertemplate{headline}{}{%
|
||||
\usebeamertemplate*{progress bar in head/foot}
|
||||
}
|
||||
},
|
||||
frametitle/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
||||
\addtobeamertemplate{frametitle}{}{%
|
||||
\usebeamertemplate*{progress bar in head/foot}
|
||||
}
|
||||
},
|
||||
foot/.code={\pgfkeys{/metropolis/outer/progressbar=none}
|
||||
\addtobeamertemplate{footline}{}{%
|
||||
\usebeamertemplate*{progress bar in head/foot}%
|
||||
}
|
||||
},
|
||||
}
|
||||
\newcommand{\metropolis@outer@setdefaults}{
|
||||
\pgfkeys{/metropolis/outer/.cd,
|
||||
numbering=counter,
|
||||
progressbar=none,
|
||||
}
|
||||
}
|
||||
\setbeamertemplate{navigation symbols}{}
|
||||
\defbeamertemplate{frame footer}{none}{}
|
||||
\defbeamertemplate{frame footer}{custom}[1]{ #1 }
|
||||
\defbeamertemplate{frame numbering}{none}{}
|
||||
\defbeamertemplate{frame numbering}{counter}{\insertframenumber}
|
||||
\defbeamertemplate{frame numbering}{fraction}{
|
||||
\insertframenumber/\inserttotalframenumber
|
||||
}
|
||||
\defbeamertemplate{headline}{plain}{}
|
||||
\defbeamertemplate{footline}{plain}{%
|
||||
\begin{beamercolorbox}[wd=\textwidth, sep=3ex]{footline}%
|
||||
\usebeamerfont{page number in head/foot}%
|
||||
\usebeamertemplate*{frame footer}
|
||||
\hfill%
|
||||
\usebeamertemplate*{frame numbering}
|
||||
\end{beamercolorbox}%
|
||||
}
|
||||
\newlength{\metropolis@frametitle@padding}
|
||||
\setlength{\metropolis@frametitle@padding}{2.2ex}
|
||||
\newcommand{\metropolis@frametitlestrut@start}{
|
||||
\rule{0pt}{\metropolis@frametitle@padding +%
|
||||
\totalheightof{%
|
||||
\ifcsdef{metropolis@frametitleformat}{\metropolis@frametitleformat X}{X}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
\newcommand{\metropolis@frametitlestrut@end}{
|
||||
\rule[-\metropolis@frametitle@padding]{0pt}{\metropolis@frametitle@padding}
|
||||
}
|
||||
\defbeamertemplate{frametitle}{plain}{%
|
||||
\nointerlineskip%
|
||||
\begin{beamercolorbox}[%
|
||||
wd=\paperwidth,%
|
||||
sep=0pt,%
|
||||
leftskip=\metropolis@frametitle@padding,%
|
||||
rightskip=\metropolis@frametitle@padding,%
|
||||
]{frametitle}%
|
||||
\metropolis@frametitlestrut@start%
|
||||
\insertframetitle%
|
||||
\nolinebreak%
|
||||
\metropolis@frametitlestrut@end%
|
||||
\end{beamercolorbox}%
|
||||
}
|
||||
\setbeamertemplate{frametitle continuation}{%
|
||||
\usebeamerfont{frametitle}
|
||||
\romannumeral \insertcontinuationcount
|
||||
}
|
||||
\newlength{\metropolis@progressinheadfoot}
|
||||
\newlength{\metropolis@progressinheadfoot@linewidth}
|
||||
\setlength{\metropolis@progressinheadfoot@linewidth}{0.4pt}
|
||||
\setbeamertemplate{progress bar in head/foot}{
|
||||
\nointerlineskip
|
||||
\setlength{\metropolis@progressinheadfoot}{%
|
||||
\paperwidth * \ratio{\insertframenumber pt}{\inserttotalframenumber pt}%
|
||||
}%
|
||||
\begin{beamercolorbox}[wd=\paperwidth]{progress bar in head/foot}
|
||||
\tikzexternaldisable%
|
||||
\begin{tikzpicture}
|
||||
\fill[bg] (0,0) rectangle (\paperwidth, \metropolis@progressinheadfoot@linewidth);
|
||||
\fill[fg] (0,0) rectangle (\metropolis@progressinheadfoot, \metropolis@progressinheadfoot@linewidth);
|
||||
\end{tikzpicture}%
|
||||
\tikzexternalenable%
|
||||
\end{beamercolorbox}
|
||||
}
|
||||
\AtBeginDocument{%
|
||||
\apptocmd{\appendix}{%
|
||||
\pgfkeys{%
|
||||
/metropolis/outer/.cd,
|
||||
numbering=none,
|
||||
progressbar=none}
|
||||
}{}{}
|
||||
}
|
||||
\metropolis@outer@setdefaults
|
||||
\ProcessPgfPackageOptions{/metropolis/outer}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamerouterthememetropolis.sty'.
|
||||
@@ -0,0 +1,107 @@
|
||||
%%
|
||||
%% This is file `beamerthememetropolis.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% beamerthememetropolis.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{beamerthememetropolis}
|
||||
[2017/01/23 v1.2 Metropolis Beamer theme]
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{pgfopts}
|
||||
\pgfkeys{/metropolis/.cd,
|
||||
.search also={
|
||||
/metropolis/inner,
|
||||
/metropolis/outer,
|
||||
/metropolis/color,
|
||||
/metropolis/font,
|
||||
}
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/titleformat plain/.cd,
|
||||
.is choice,
|
||||
regular/.code={%
|
||||
\let\metropolis@plaintitleformat\@empty%
|
||||
\setbeamerfont{standout}{shape=\normalfont}%
|
||||
},
|
||||
smallcaps/.code={%
|
||||
\let\metropolis@plaintitleformat\@empty%
|
||||
\setbeamerfont{standout}{shape=\scshape}%
|
||||
},
|
||||
allsmallcaps/.code={%
|
||||
\let\metropolis@plaintitleformat\MakeLowercase%
|
||||
\setbeamerfont{standout}{shape=\scshape}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat plain=allsmallcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
allcaps/.code={%
|
||||
\let\metropolis@plaintitleformat\MakeUppercase%
|
||||
\setbeamerfont{standout}{shape=\normalfont}%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
Be aware that titleformat plain=allcaps can lead to problems%
|
||||
}
|
||||
},
|
||||
}
|
||||
\pgfkeys{
|
||||
/metropolis/titleformat/.code=\pgfkeysalso{
|
||||
font/titleformat title=#1,
|
||||
font/titleformat subtitle=#1,
|
||||
font/titleformat section=#1,
|
||||
font/titleformat frame=#1,
|
||||
titleformat plain=#1,
|
||||
}
|
||||
}
|
||||
\pgfkeys{/metropolis/.cd,
|
||||
usetitleprogressbar/.code=\pgfkeysalso{outer/progressbar=frametitle},
|
||||
noslidenumbers/.code=\pgfkeysalso{outer/numbering=none},
|
||||
usetotalslideindicator/.code=\pgfkeysalso{outer/numbering=fraction},
|
||||
nosectionslide/.code=\pgfkeysalso{inner/sectionpage=none},
|
||||
darkcolors/.code=\pgfkeysalso{color/background=dark},
|
||||
blockbg/.code=\pgfkeysalso{color/block=fill, inner/block=fill},
|
||||
}
|
||||
\newcommand{\metropolis@setdefaults}{
|
||||
\pgfkeys{/metropolis/.cd,
|
||||
titleformat plain=regular,
|
||||
}
|
||||
}
|
||||
\providecommand{\tikzexternalenable}{}
|
||||
\providecommand{\tikzexternaldisable}{}
|
||||
\useinnertheme{metropolis}
|
||||
\useoutertheme{metropolis}
|
||||
\usecolortheme{metropolis}
|
||||
\usefonttheme{metropolis}
|
||||
\AtEndPreamble{%
|
||||
\@ifpackageloaded{pgfplots}{%
|
||||
\RequirePackage{pgfplotsthemetol}
|
||||
}{}
|
||||
}
|
||||
\newcommand{\metroset}[1]{\pgfkeys{/metropolis/.cd,#1}}
|
||||
\def\metropolis@plaintitleformat#1{#1}
|
||||
\newcommand{\plain}[2][]{%
|
||||
\PackageWarning{beamerthememetropolis}{%
|
||||
The syntax `\plain' may be deprecated in a future version of Metropolis.
|
||||
Please use a frame with [standout] instead.
|
||||
}
|
||||
\begin{frame}[standout]{#1}
|
||||
\metropolis@plaintitleformat{#2}
|
||||
\end{frame}
|
||||
}
|
||||
\newcommand{\mreducelistspacing}{\vspace{-\topsep}}
|
||||
\metropolis@setdefaults
|
||||
\ProcessPgfOptions{/metropolis}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `beamerthememetropolis.sty'.
|
||||
@@ -0,0 +1,123 @@
|
||||
%%
|
||||
%% This is file `pgfplotsthemetol.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% pgfplotsthemetol.dtx (with options: `package')
|
||||
%% ---------------------------------------------------------------------------
|
||||
%% Copyright 2015 Matthias Vogelgesang and the LaTeX community. A full list of
|
||||
%% contributors can be found at
|
||||
%%
|
||||
%% https://github.com/matze/mtheme/graphs/contributors
|
||||
%%
|
||||
%% and the original template was based on the HSRM theme by Benjamin Weiss.
|
||||
%%
|
||||
%% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
|
||||
%% International License (https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
%% ---------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{pgfplotsthemetol}
|
||||
[2017/01/23 PGFplots colors based on Paul Tol's SRON technical note]
|
||||
\definecolor{TolDarkPurple}{HTML}{332288}
|
||||
\definecolor{TolDarkBlue}{HTML}{6699CC}
|
||||
\definecolor{TolLightBlue}{HTML}{88CCEE}
|
||||
\definecolor{TolLightGreen}{HTML}{44AA99}
|
||||
\definecolor{TolDarkGreen}{HTML}{117733}
|
||||
\definecolor{TolDarkBrown}{HTML}{999933}
|
||||
\definecolor{TolLightBrown}{HTML}{DDCC77}
|
||||
\definecolor{TolDarkRed}{HTML}{661100}
|
||||
\definecolor{TolLightRed}{HTML}{CC6677}
|
||||
\definecolor{TolLightPink}{HTML}{AA4466}
|
||||
\definecolor{TolDarkPink}{HTML}{882255}
|
||||
\definecolor{TolLightPurple}{HTML}{AA4499}
|
||||
\pgfplotscreateplotcyclelist{mbarplot cycle}{%
|
||||
{draw=TolDarkBlue, fill=TolDarkBlue!70},
|
||||
{draw=TolLightBrown, fill=TolLightBrown!70},
|
||||
{draw=TolLightGreen, fill=TolLightGreen!70},
|
||||
{draw=TolDarkPink, fill=TolDarkPink!70},
|
||||
{draw=TolDarkPurple, fill=TolDarkPurple!70},
|
||||
{draw=TolDarkRed, fill=TolDarkRed!70},
|
||||
{draw=TolDarkBrown, fill=TolDarkBrown!70},
|
||||
{draw=TolLightRed, fill=TolLightRed!70},
|
||||
{draw=TolLightPink, fill=TolLightPink!70},
|
||||
{draw=TolLightPurple, fill=TolLightPurple!70},
|
||||
{draw=TolLightBlue, fill=TolLightBlue!70},
|
||||
{draw=TolDarkGreen, fill=TolDarkGreen!70},
|
||||
}
|
||||
\pgfplotscreateplotcyclelist{mlineplot cycle}{%
|
||||
{TolDarkBlue, mark=*, mark size=1.5pt},
|
||||
{TolLightBrown, mark=square*, mark size=1.3pt},
|
||||
{TolLightGreen, mark=triangle*, mark size=1.5pt},
|
||||
{TolDarkBrown, mark=diamond*, mark size=1.5pt},
|
||||
}
|
||||
\pgfplotsset{
|
||||
compat=1.9,
|
||||
mlineplot/.style={
|
||||
mbaseplot,
|
||||
xmajorgrids=true,
|
||||
ymajorgrids=true,
|
||||
major grid style={dotted},
|
||||
axis x line=bottom,
|
||||
axis y line=left,
|
||||
legend style={
|
||||
cells={anchor=west},
|
||||
draw=none
|
||||
},
|
||||
cycle list name=mlineplot cycle,
|
||||
},
|
||||
mbarplot base/.style={
|
||||
mbaseplot,
|
||||
bar width=6pt,
|
||||
axis y line*=none,
|
||||
},
|
||||
mbarplot/.style={
|
||||
mbarplot base,
|
||||
ybar,
|
||||
xmajorgrids=false,
|
||||
ymajorgrids=true,
|
||||
area legend,
|
||||
legend image code/.code={%
|
||||
\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);
|
||||
},
|
||||
cycle list name=mbarplot cycle,
|
||||
},
|
||||
horizontal mbarplot/.style={
|
||||
mbarplot base,
|
||||
xmajorgrids=true,
|
||||
ymajorgrids=false,
|
||||
xbar stacked,
|
||||
area legend,
|
||||
legend image code/.code={%
|
||||
\draw[#1] (0cm,-0.1cm) rectangle (0.15cm,0.1cm);
|
||||
},
|
||||
cycle list name=mbarplot cycle,
|
||||
},
|
||||
mbaseplot/.style={
|
||||
legend style={
|
||||
draw=none,
|
||||
fill=none,
|
||||
cells={anchor=west},
|
||||
},
|
||||
x tick label style={
|
||||
font=\footnotesize
|
||||
},
|
||||
y tick label style={
|
||||
font=\footnotesize
|
||||
},
|
||||
legend style={
|
||||
font=\footnotesize
|
||||
},
|
||||
major grid style={
|
||||
dotted,
|
||||
},
|
||||
axis x line*=bottom,
|
||||
},
|
||||
disable thousands separator/.style={
|
||||
/pgf/number format/.cd,
|
||||
1000 sep={}
|
||||
},
|
||||
}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `pgfplotsthemetol.sty'.
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user