-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmybeamerstyle.sty
58 lines (53 loc) · 1.62 KB
/
mybeamerstyle.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%Theme
\usetheme{Boadilla}
\usecolortheme{beaver}
\usefonttheme[onlymath]{serif}
%Presentation
\usepackage{amsmath, amsfonts, epsfig, xspace}
\usepackage{bm}
\usepackage{algorithm,algorithmic}
\usepackage{pstricks,pst-node}
\usepackage{media9}
%\usepackage{multicolum}
\usepackage{multirow}
\usepackage{calligra}
\usepackage[T1]{fontenc}
%\usepackage{multimedia}
\usepackage[normal,tight,center]{subfigure}
\setlength{\subfigcapskip}{-.5em}
%\usepackage{beamerthemesplit}
%\usetheme{lankton-keynote}
\renewcommand\sfdefault{phv}
\renewcommand\familydefault{\sfdefault}
%Math
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}
\newtheorem{assumption}{Assumption}
%Frame
\AtBeginSection[]
{
\begin{frame}<beamer>{Table of Contents}
\tableofcontents[currentsection,currentsubsection,
hideothersubsections,
sectionstyle=show/shaded,
]
\end{frame}
}
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author 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]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother