-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcambridge1.tex
54 lines (44 loc) · 1.85 KB
/
cambridge1.tex
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
\documentclass[10pt, xcolor={dvipsnames}]{beamer}
\usetheme{CambridgeUS}
\usepackage{booktabs}
\usepackage{graphicx}
\title{Cambridge US style without headline and footline}
\author{Vachan Potluri}
\date{\today}
\makeatletter
\setbeamercolor{structure}{fg=black,bg=green}
\setbeamercolor{palette primary}{use=structure,fg=structure.bg!20!black,bg=structure.bg!10!white!85!black} % bottom right block
\setbeamercolor{palette secondary}{use=structure,fg=white,bg=structure.bg!60!black} % bottom middle block
\setbeamercolor{palette tertiary}{use=structure,fg=white,bg=structure.bg!30!black} % bottom left block
\setbeamercolor{block title}{use=structure,fg=white,bg=structure.bg!50!black}
\setbeamercolor{block body}{use=structure,fg=black,bg=structure.bg!10}
\setbeamercolor{frametitle}{parent=palette primary}
\setbeamercolor{title}{parent=frametitle}
\setbeamercolor{item projected}{use=structure,fg=black,bg=structure.bg} % changes only enumerate color. \setbeamercolor{enumerate item}{...} wont work
\setbeamercolor{subitem projected}{fg=white,bg=structure.bg!40!black} % changes only enumerate color
\setbeamercolor{itemize item}{fg=structure.bg!60!black} % changes only itemize color
\setbeamercolor{itemize subitem}{fg=structure.bg!30!black} % changes only itemize color
\setbeamertemplate{itemize item}[triangle]
\setbeamertemplate{itemize subitem}[circle]
\setbeamertemplate{enumerate items}[circle]
\setbeamertemplate{headline}
{%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=1em]{palette tertiary}
\end{beamercolorbox}
}
}
\setbeamertemplate{footline}
{%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=1em]{palette secondary}
\end{beamercolorbox}
}
}
\setbeamertemplate{navigation symbols}{}
\makeatother
\setlength{\leftmargini}{2em}
\setlength{\leftmarginii}{1em}
\begin{document}
\input{common_content}
\end{document}