source: doc/theses/thierry_delisle_PhD/comp_II/presentationstyle.sty @ 8d8ac3b

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 8d8ac3b was 8d8ac3b, checked in by Thierry Delisle <tdelisle@…>, 15 months ago

Added first draft of phd defence presentation.
Ran spell checker on CompII.
Added support for dark/light figures.
Formatting changes

  • Property mode set to 100644
File size: 2.2 KB
Line 
1\usepackage{color}
2\usepackage{xcolor}
3\usepackage{xspace}
4\usepackage{array}
5\usepackage{stackengine}
6
7%==============================
8% global theme
9\usetheme[]{PaloAlto}
10\usecolortheme[]{frigatebird}
11% % • hideallsubsections causes only sections to be shown in the sidebar. This is useful, if you need to save space.
12% % • hideothersubsections causes only the subsections of the current section to be shown. This is useful, if you need to save space.
13% % • left puts the sidebar on the left (default).
14% % • right puts the sidebar on the right.
15% % • width=⟨dimension⟩ sets the width of the sidebar. If set to zero, no sidebar is created.
16\useoutertheme[left,width=50pt]{sidebarwithminiframes}
17\beamer@headheight = 1.25\baselineskip
18
19\setbeamertemplate{title page}[default][colsep=-4bp,rounded=false,shadow=false,left]
20\setbeamertemplate{blocks}[rounded][shadow=false]
21\newcommand\xrowht[2][0]{\addstackgap[.5\dimexpr#2\relax]{\vphantom{#1}}}
22
23%==============================
24% Page numbers
25\addtobeamertemplate{footline}
26{%
27   \usebeamercolor[fg]{author in sidebar}
28   \vskip-1cm\hskip10pt
29   \insertframenumber\,/\,\inserttotalframenumber\kern1em\vskip2pt%
30}
31
32%==============================
33% Colors
34\definecolor{colbg}{HTML}{282828}
35
36\setbeamercolor{palette primary}{bg=colbg}
37\setbeamercolor{palette tertiary}{fg=red}
38
39%==============================
40% Fix bullet points
41\setbeamertemplate{itemize items}[default]
42\setbeamertemplate{enumerate items}[default]
43
44%==============================
45% cfa macros used in the document
46\newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}\xspace} % Cforall symbolic name
47\newcommand{\CFA}{\protect\CFAIcon}             % safe for section/caption
48
49%==============================
50% add option to disable miniframes
51\makeatletter
52\let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry
53\def\beamer@writeslidentry@miniframesoff{%
54  \expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally
55  {%else
56    \clearpage\beamer@notesactions%
57  }
58}
59\newcommand*{\miniframeson}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframeson}
60\newcommand*{\miniframesoff}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframesoff}
61\makeatother
Note: See TracBrowser for help on using the repository browser.