Presis 4.0
Forfatter:
Artturi Björk
Sidst opdateret:
10 år siden
Licens:
Creative Commons CC BY 4.0
Resumé:
Presentation template with a minimalist look
\begin
Opdag hvorfor 18 millioner mennesker verden rundt stoler på Overleaf med deres arbejde.
\begin
Opdag hvorfor 18 millioner mennesker verden rundt stoler på Overleaf med deres arbejde.
\documentclass{beamer} %printtaukseen [handout]
\usetheme{Frankfurt}
\usecolortheme{dove}
%\usepackage{pgfpages} %printtaukseen
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=5mm] %printtaukseen
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
%\usepackage{natbib} %for citations in Harvard style
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{xfrac}
\usepackage[finnish, british]{babel}
\usepackage{cleveref} %for multiple refs in one ref
\renewcommand*\familydefault{\ttdefault} %% Only if the base font of the document is to be typewriter style
\usepackage{courier}
\usepackage[backend=biber,citestyle=authoryear,bibstyle=authoryear]{biblatex}
\addbibresource{references.bib}
\usepackage{csquotes} % for proper quotation marks
\DeclareMathOperator*{\E}{\mathbb{E}} % Expectation symbol
%%%%% PATHS %%%%%
\graphicspath{{./plotit/}}
%\addbibresource{refs.bib} %for citations
%%%% CUSTOMIZATION OF THE TEMPLATE %%%%%
\useinnertheme{rectangles} %rectangle bullets etc
\beamertemplatenavigationsymbolsempty %no navigation bar
\setbeamercovered{transparent} %future bullet points transparent
\setbeamertemplate{frametitle}[default][colsep=-4bp,rounded=false,shadow=false] %no shadows
\definecolor{dark-gray}{gray}{0.80} %color for the navigation squares
%%%% FOOTLINE CUSTOMIZATION %%%%%
\setbeamercolor{section in head/foot}{fg=black, bg=white}
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{section in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{section in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
%%%% HEADER CUSTOMIZATION %%%%%
\setbeamertemplate{mini frame}
{%
\begin{pgfpicture}{0pt}{0pt}{.1cm}{.1cm}
\pgfpathrectangle{\pgfpointorigin}{\pgfpoint{\the\beamer@boxsize}{\the\beamer@boxsize}}
\pgfusepath{fill,stroke}
\end{pgfpicture}%
}
\def\slideentry#1#2#3#4#5#6{%
%section number, subsection number, slide number, first/last frame, page number, part number
\ifnum#6=\c@part\ifnum#2>0\ifnum#3>0%
\ifbeamer@compress%
\advance\beamer@xpos by1\relax%
\else%
\beamer@xpos=#3\relax%
\beamer@ypos=#2\relax%
\fi%
\hbox to 2pt{%
\beamer@tempdim=-\beamer@vboxoffset%
\advance\beamer@tempdim by-\beamer@boxsize%
\multiply\beamer@tempdim by\beamer@ypos%
\advance\beamer@tempdim by -.05cm%
\raise\beamer@tempdim\hbox{%
\beamer@tempdim=\beamer@boxsize%
\multiply\beamer@tempdim by\beamer@xpos%
\advance\beamer@tempdim by -\beamer@boxsize%
\advance\beamer@tempdim by 1pt%
\kern\beamer@tempdim
\global\beamer@section@min@dim\beamer@tempdim
\hbox{\beamer@link(#4){%
\usebeamerfont{mini frame}%
\ifnum\c@section>#1%
\color{dark-gray}%
\else%
\ifnum\c@section=#1%
\ifnum\c@subsection>#2%
\color{dark-gray}%
\else%
\ifnum\c@subsection=#2%
\ifnum\c@subsectionslide>#3%
\color{dark-gray}%
\else%
\color{fg}%
\fi%
\else%
\color{dark-gray}%
\fi%
\fi%
\else%
\color{dark-gray}%
\fi%
\fi%
\usebeamertemplate{mini frame}%
}}}\hskip-10cm plus 1fil%
}\fi\fi%
\else%
\fakeslideentry{#1}{#2}{#3}{#4}{#5}{#6}%
\fi\ignorespaces
}
%%%% SOME BUG %%%%%
\def\pdftex@driver{pdftex.def}
\ifx\Gin@driver\pdftex@driver
\def\pgfsys@color@unstacked#1{%
\pdfliteral{\csname\string\color@#1\endcsname}%
}
\fi
\makeatother
%%%%% INFORMATION ABOUT THE DOCUMENT %%%%%
\title[Short Title]{Long Title}
\author[Björk]{Artturi Björk}
\institute[Aalto]{Aalto University}
\date{Feb 27, 2014}
%%%%% ACTUAL DOCUMENT PAGES %%%%%
\begin{document}
\section{Introduction}
\subsection{title}
\begin{frame}[plain]
\titlepage
\end{frame}
\subsection{}
\begin{frame}{}
\begin{itemize}
\item
\end{itemize}
\end{frame}
\begin{frame}{References}
\printbibliography
\end{frame}
\end{document}