-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemempsi.sty
94 lines (89 loc) · 3.97 KB
/
beamerthemempsi.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
%% http://titilog.free.fr/
\mode<presentation>
\definecolor{sectionColor}{RGB}{51,0,51}
\definecolor{subsectionColor}{RGB}{51,51,51}
\definecolor{sectionTextColor}{RGB}{255,255,255}
\definecolor{subsectionTextColor}{RGB}{255,255,255}
\definecolor{leftFootlineColor}{RGB}{0,102,255}
\definecolor{middleFootlineColor}{RGB}{51,153,255}
\definecolor{rightFootlineColor}{RGB}{102,204,255}
\definecolor{authorColor}{RGB}{0,0,0}
\definecolor{footlineTitleColor}{RGB}{0,0,0}
\definecolor{instituteColor}{RGB}{0,0,0}
\definecolor{dateColor}{RGB}{0,0,0}
\definecolor{pageColor}{RGB}{0,0,0}
\definecolor{titleColor}{RGB}{102,51,102}
\definecolor{titleTextColor}{RGB}{255,255,255}
%\definecolor{bodyColor}{RGB}{153,153,153}
\definecolor{bodyColor}{RGB}{255,255,255}
\definecolor{normalTextColor}{RGB}{0,0,0}
\definecolor{exampleTextColor}{RGB}{51,102,0}
\definecolor{alertTextColor}{RGB}{153,0,0}
\definecolor{chipColor}{RGB}{0,0,102}
\definecolor{chipTextColor}{RGB}{255,255,255}
% \definecolor{normalBlockColor}{RGB}{0,153,153}
\definecolor{normalBlockColor}{RGB}{0,180,180}
\definecolor{normalTitleBlockColor}{RGB}{0,102,153}
% \definecolor{normalBlockTextColor}{RGB}{255,255,255}
\definecolor{normalBlockTextColor}{RGB}{0,0,0}
\definecolor{normalBlockTitleTextColor}{RGB}{255,255,255}
% \definecolor{exampleBlockColor}{RGB}{51,153,51}
\definecolor{exampleBlockColor}{RGB}{212,200,140}
% \definecolor{exampleTitleBlockColor}{RGB}{0,102,0}
\definecolor{exampleTitleBlockColor}{RGB}{79,69,13}
%\definecolor{exampleBlockTextColor}{RGB}{255,255,255}
\definecolor{exampleBlockTextColor}{RGB}{0,0,0}
\definecolor{exampleBlockTitleTextColor}{RGB}{255,255,255}
\definecolor{alertBlockColor}{RGB}{255,102,102}
\definecolor{alertTitleBlockColor}{RGB}{204,51,51}
%\definecolor{alertBlockTextColor}{RGB}{255,255,255}
\definecolor{alertBlockTextColor}{RGB}{0,0,0}
\definecolor{alertBlockTitleTextColor}{RGB}{255,255,255}
\definecolor{HighlightColor}{HTML}{ffb6c1}
%\definecolor{emphColor}{RGB}{255,255,255}
\setbeamercolor{section in head/foot}{bg=sectionColor, fg=sectionTextColor}
\setbeamercolor{subsection in head/foot}{bg=subsectionColor, fg=subsectionTextColor}
\setbeamercolor*{block title}{fg=normalBlockTitleTextColor,bg=normalTitleBlockColor}
\setbeamercolor*{block body}{fg=normalBlockTextColor,bg=normalBlockColor}
\setbeamercolor*{block title alerted}{fg=alertBlockTitleTextColor,bg=alertTitleBlockColor}
\setbeamercolor*{block body alerted}{fg=alertBlockTextColor,bg=alertBlockColor}
\setbeamercolor*{block title example}{fg=exampleBlockTitleTextColor,bg=exampleTitleBlockColor}
\setbeamercolor*{block body example}{fg=exampleBlockTextColor,bg=exampleBlockColor}
\setbeamerfont{block title}{size={}}
\setbeamercolor{titlelike}{fg=titleTextColor,bg=titleColor}
\setbeamercolor*{normal text}{fg=normalTextColor,bg=bodyColor}
\setbeamercolor*{example text}{fg=exampleTextColor}
\setbeamercolor*{alerted text}{fg=alertTextColor}
% \definecolor{links}{HTML}{middleFootlineColor}
\hypersetup{colorlinks,linkcolor=,urlcolor=exampleTextColor}
%\useinnertheme[shadow=true]{rounded}
\useinnertheme{default}
\setbeamercolor{item projected}{bg=chipColor,fg=chipTextColor}
\usesectionheadtemplate
{\hfill\insertsectionhead}
{\hfill\color{fg!50!bg}\insertsectionhead}
\defbeamertemplate*{headline}{split theme}
{%
\leavevmode%
\@tempdimb=2.4375ex%
\ifnum\beamer@subsectionmax<\beamer@sectionmax%
\multiply\@tempdimb by\beamer@sectionmax%
\else%
\multiply\@tempdimb by\beamer@subsectionmax%
\fi%
\ifdim\@tempdimb>0pt%
\advance\@tempdimb by 1.125ex%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{section in head/foot}%
\vbox to\@tempdimb{\vfil\insertsectionnavigation{.5\paperwidth}\vfil}%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=\@tempdimb]{subsection in head/foot}%
\vbox to\@tempdimb{\vfil\insertsubsectionnavigation{.5\paperwidth}\vfil}%
\end{beamercolorbox}%
\fi%
}
\mode
<article>
\setbeamertemplate{alerted text begin}{\ifmmode\else\begin{bfseries}\itshape\fi}
\setbeamertemplate{alerted text end}{\ifmmode\else\end{bfseries}\fi}
\mode
<all>