Commit 1ea26af2 authored by Henrik Korsgaard's avatar Henrik Korsgaard 💬
Browse files

first version of the aubeamer template

parent 7da4642c
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# xwatermark package
*.xwm
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib
\ No newline at end of file
\RequirePackage{./fonts/audklogos}
\RequirePackage{fontspec}
\RequirePackage{tikz}
\RequirePackage[absolute,overlay]{textpos}
\mode<presentation>
%%% Removing navigation symbols
\setbeamertemplate{navigation symbols}{}
\setbeamersize{text margin left=4em,text margin right=4em}
\definecolor{AUDark}{RGB}{0,37,70}
\definecolor{AULight}{RGB}{55,160,203}
\definecolor{AUGreen}{RGB}{139,173,63}
\definecolor{AUMagenta}{RGB}{226,0,122}
%%% fonts
\setmainfont{AUPassata}[
Path = ./fonts/,
Extension = .ttf,
UprightFont = *_Rg,
BoldFont = *_Bold,
ItalicFont = *_RgOblique,
BoldItalicFont = *_BoldOblique]
\usefonttheme{serif} %% hax to trick beamer into loading the mainfont for \emph{}, \textbf{} etc.
\newfontfamily{\textlight}[
Path = ./fonts/,
Extension = .ttf,
UprightFont = *_Light,
]{AUPassata}
\renewcommand\bibfont{\tiny}
\TPGrid[16pt,9pt]{16}{9}
\defbeamertemplate{frametitle}{AUWhite}{%
\begin{textblock}{14}[0,1](0,1.5)%
{\color{white}\bf{\huge\MakeUppercase\insertframetitle}}%
\end{textblock}
\begin{textblock}{14}[0,0](1,2)%
\tikz \fill [white] (-0.1,0) rectangle (0.7,0.05);
\end{textblock}
\vspace{3.5em}
}
\defbeamertemplate{frametitle}{AUDark}{%
\begin{textblock}{14}[0,1](0,1.5)%
{\color{AUDark}\bf{\huge\MakeUppercase\insertframetitle}}%
\end{textblock}
\begin{textblock}{14}[0,0](1,2)%
\tikz \fill [AUDark] (-0.1,0) rectangle (0.7,0.05);
\end{textblock}
\vspace{3.5em}
}
%%%% FOOTERS
\defbeamertemplate{footline}{AUDark}{%
\begin{textblock}{2}[1,0](7.9,8.7)%
\hfill\fontsize{4}{0}\selectfont SLIDE \insertframenumber\ IN \inserttotalframenumber
\end{textblock}
\begin{textblock}{2}[0,0](8.1,8.6)%
\fontsize{4}{0}\selectfont\insertshorttitle
\end{textblock}
\begin{textblock}{2}[0,0](8.1,8.8)%
\fontsize{4}{0}\selectfont\insertauthor
\end{textblock}
\begin{textblock}{1}[0,1](8,8.95)%
{\color{AUDark}
\begin{tikzpicture}
\draw (0,0)--(0,0.35);
\end{tikzpicture}}
\end{textblock}
\begin{textblock}{1}[0,1](0,8.8)%
\AUDKLogo[2.1em]{AUDark}
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.5)%
AARHUS
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.75)%
UNIVERSITY
\end{textblock}
\begin{textblock}{10}[0,1](1.1,9)%
\fontsize{4}{0}\selectfont\textlight{\insertinstitute}
\end{textblock}
\begin{textblock}{1}[0.5,1](15.9,9)%
\AUDKSeal[3.5em]{AUDark}
\end{textblock}
}
\defbeamertemplate{footline}{AUWhite}{%
\begin{textblock}{2}[1,0](7.9,8.7)%
\hfill\fontsize{4}{0}\selectfont SLIDE \insertframenumber\ IN \inserttotalframenumber
\end{textblock}
\begin{textblock}{2}[0,0](8.1,8.6)%
\fontsize{4}{0}\selectfont\insertshorttitle
\end{textblock}
\begin{textblock}{2}[0,0](8.1,8.8)%
\fontsize{4}{0}\selectfont\insertauthor
\end{textblock}
\begin{textblock}{1}[0,1](8,8.95)%
{\color{white}
\begin{tikzpicture}
\draw (0,0)--(0,0.35);
\end{tikzpicture}}
\end{textblock}
\begin{textblock}{1}[0,1](0,8.8)%
{\color{white}\AUDKLogo[2.1em]{white}}
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.5)%
AARHUS
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.75)%
UNIVERSITY
\end{textblock}
\begin{textblock}{10}[0,1](1.1,9)%
\fontsize{4}{0}\selectfont\textlight{\insertinstitute}
\end{textblock}
\begin{textblock}{1}[0.5,1](15.9,9)%
{\color{white}\AUDKSeal[3.5em]{white}}
\end{textblock}
}
%%% Slide types set in options
\makeatletter
\define@key{beamerframe}{AUDark}[true]{%
\color{white}
\setbeamertemplate{frametitle}[AUWhite]%
\setbeamertemplate{footline}[AUWhite]%
\setbeamercolor*{background canvas}{bg=AUDark,fg=white}%
\setbeamercolor*{structure}{fg=white}%
\setbeamercolor*{itemize/enumerate body}{fg=white}%
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
}
\define@key{beamerframe}{AUGreen}[true]{%
\color{white}
\setbeamertemplate{frametitle}[AUWhite]%
\setbeamertemplate{footline}[AUWhite]%
\setbeamercolor*{background canvas}{bg=AUGreen,fg=white}%
\setbeamercolor*{structure}{fg=white}%
\setbeamercolor*{itemize/enumerate body}{fg=white}%
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
}
\define@key{beamerframe}{AUMagenta}[true]{%
\color{white}
\setbeamertemplate{frametitle}[AUWhite]%
\setbeamertemplate{footline}[AUWhite]%
\setbeamercolor*{background canvas}{bg=AUMagenta,fg=white}%
\setbeamercolor*{structure}{fg=white}%
\setbeamercolor*{itemize/enumerate body}{fg=white}%
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
}
\define@key{beamerframe}{AUDarkClean}[true]{%
\color{white}
\setbeamertemplate{frametitle}[AUWhite]%
\setbeamertemplate{footline}{}%
\setbeamercolor*{background canvas}{bg=AUDark,fg=white}%
\setbeamercolor*{structure}{fg=white}%
\setbeamercolor*{itemize/enumerate body}{fg=white}%
\setbeamercolor*{itemize/enumerate subbody}{fg=white}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=white}%
\setbeamercolor*{description body}{fg=white}%
}
\define@key{beamerframe}{AUClean}[true]{%
\setbeamertemplate{footline}{}%
}
\makeatother
% Resetting the frame style
\BeforeBeginEnvironment{frame}{%
\setbeamertemplate{frametitle}[AUDark]%
\setbeamertemplate{footline}[AUDark]%
\setbeamercolor*{background canvas}{bg=white,fg=AUDark}%
\setbeamercolor*{normal text}{bg=white,fg=AUDark}%
\setbeamercolor*{structure}{bg=white,fg=AUDark}%
\setbeamercolor*{itemize/enumerate body}{fg=AUDark}%
\setbeamercolor*{itemize/enumerate subbody}{fg=AUDark}%
\setbeamercolor*{itemize/enumerate subsubbody}{fg=AUDark}%
\setbeamercolor*{description body}{fg=AUDark}%
\color{AUDark}
\setbeamertemplate{description item}{%
\bf\insertdescriptionitem\hfill
}
}
%%%% TITLE PAGE AND TITLE FOOTER
\defbeamertemplate*{title page}{aarhusuniversity}[1][]
{
\begin{textblock}{14}[0,1](1,5)%
{\color{white}
\bf{\Huge\MakeUppercase\inserttitle}}
\end{textblock}
\begin{textblock}{10}[0,0](1,5)%
\vspace{0.5em}{\color{white}\textlight{\insertauthor\hspace{0.5em}\insertshortauthor}}
\end{textblock}
}
\defbeamertemplate{footline}{AUTitle}{%
\begin{textblock}{2}[0.5,0](8,8.7)%
{\color{white}\hfill\insertdate}
\end{textblock}
\begin{textblock}{1}[0,1](0,8.8)%
\AUDKLogo[2.1em]{white}
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.5)%
{\color{white}AARHUS}
\end{textblock}
\begin{textblock}{10}[0,1](1.1,8.75)%
{\color{white}UNIVERSITY}
\end{textblock}
\begin{textblock}{10}[0,1](1.1,9)%
{\color{white}\fontsize{4}{0}\selectfont\textlight{\insertinstitute}}
\end{textblock}
\begin{textblock}{1}[0.5,1](15.9,9)%
\AUDKSeal[3.5em]{white}
\end{textblock}
}
%% Script to ensure that the title page is styled correctly
\makeatletter
\def\ps@navigation@titlepage{%
\setbeamertemplate{footline}[AUTitle]
\setbeamercolor{background canvas}{bg=AUDark}
\@nameuse{ps@navigation}}
\addtobeamertemplate{title page}{\thispagestyle{navigation@titlepage}}{}
\makeatother
\AtBeginSection[] %
{
\begin{frame}\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}
}
\makeatletter
\patchcmd{\beamer@sectionintoc}
{\vfill}
{\vskip\itemsep}
{}
{}
\makeatother
\setbeamertemplate{section in toc}{%
{\color{AUDark}\bf\inserttocsectionnumber.~\inserttocsection}%
\vspace{2pt}
}
\setbeamertemplate{caption}{%
{\vspace{-1em}\scriptsize\insertcaptionname \insertcaptionnumber: \insertcaption}%
}
\mode<all>
This diff is collapsed.
@misc{tantau2004user,
title={User’s Guide to the Beamer Class, Version 3.01},
author={Tantau, Till},
year={2004}
}
@article{mertz2005beamer,
title={Beamer by example},
author={Mertz, Andrew and Slough, William},
journal={The PracTEX Journal},
year={2005}
}
\ No newline at end of file
\begin{thebibliography}{}
\bibitem[Mertz and Slough, 2005]{mertz2005beamer}
Mertz, A. and Slough, W. (2005).
\newblock Beamer by example.
\newblock {\em The PracTEX Journal}.
\bibitem[Tantau, 2004]{tantau2004user}
Tantau, T. (2004).
\newblock User’s guide to the beamer class, version 3.01.
\end{thebibliography}
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
The top-level auxiliary file: sample.aux
The style file: apalike.bst
Database file #1: references.bib
You've used 2 entries,
1935 wiz_defined-function locations,
480 strings with 3840 characters,
and the built_in function-call counts, 564 in all, are:
= -- 54
> -- 20
< -- 2
+ -- 6
- -- 6
* -- 38
:= -- 112
add.period$ -- 5
call.type$ -- 2
change.case$ -- 13
chr.to.int$ -- 2
cite$ -- 2
duplicate$ -- 23
empty$ -- 36
format.name$ -- 10
if$ -- 103
int.to.chr$ -- 1
int.to.str$ -- 0
missing$ -- 1
newline$ -- 12
num.names$ -- 6
pop$ -- 10
preamble$ -- 1
purify$ -- 13
quote$ -- 0
skip$ -- 21
stack$ -- 0
substring$ -- 24
swap$ -- 1
text.length$ -- 0
text.prefix$ -- 0
top$ -- 0
type$ -- 12
warning$ -- 0
while$ -- 4
width$ -- 0
write$ -- 24
File added
\documentclass[aspectratio=169]{beamer}