diff options
Diffstat (limited to 'main.tex')
-rw-r--r-- | main.tex | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..a24664b --- /dev/null +++ b/main.tex | |||
@@ -0,0 +1,82 @@ | |||
1 | \documentclass[8pt,xcolor={table,dvipsnames,t}]{beamer} | ||
2 | \usepackage{graphicx} | ||
3 | \usepackage{parskip} | ||
4 | \usepackage{amsmath} | ||
5 | \usepackage{amssymb} | ||
6 | \usepackage{environ} | ||
7 | \usepackage{tcolorbox} | ||
8 | \usepackage{caption} | ||
9 | \usepackage{subcaption} | ||
10 | \usepackage{tikz,ifthen} | ||
11 | \usepackage{xparse} | ||
12 | \usepackage{listings} | ||
13 | \usepackage{minted} | ||
14 | \usepackage{multicol} | ||
15 | \usetikzlibrary{calc,intersections,through,backgrounds} | ||
16 | |||
17 | \usepackage[english]{babel} | ||
18 | \usepackage[autostyle, english = american]{csquotes} | ||
19 | \MakeOuterQuote{"} | ||
20 | \usepackage[lined]{algorithm2e} | ||
21 | \setlength{\parskip}{\baselineskip} | ||
22 | |||
23 | \DeclareMathOperator*{\argmax}{arg\,max} | ||
24 | \DeclareMathOperator*{\argmin}{arg\,min} | ||
25 | |||
26 | \usepackage{pgfpages} | ||
27 | |||
28 | \ifdef{\ifnotes}{ | ||
29 | \ifnotes | ||
30 | \setbeameroption{show notes on second screen=right} | ||
31 | \fi | ||
32 | }{} | ||
33 | |||
34 | \setbeamertemplate{note page}{\pagecolor{yellow!5}\insertnote} | ||
35 | \usepackage{palatino} | ||
36 | |||
37 | \setbeamertemplate{blocks}[rounded][shadow=true] | ||
38 | \setbeamercolor{block body}{bg=orange, fg=black} | ||
39 | |||
40 | % | ||
41 | % Custom font for a frame. | ||
42 | % | ||
43 | \newcommand{\customframefont}[1]{ | ||
44 | \setbeamertemplate{itemize/enumerate body begin}{#1} | ||
45 | \setbeamertemplate{itemize/enumerate subbody begin}{#1} | ||
46 | } | ||
47 | |||
48 | \NewEnviron{framefont}[1]{ | ||
49 | \customframefont{#1} % for itemize/enumerate | ||
50 | {#1 % For the text outside itemize/enumerate | ||
51 | \BODY | ||
52 | } | ||
53 | \customframefont{\normalsize} | ||
54 | } | ||
55 | |||
56 | \usetheme{UVic} | ||
57 | |||
58 | |||
59 | \title{UVic \LaTeX beamer template} | ||
60 | \author{\texorpdfstring{Author\newline\newline\url{[email protected]}}{Author}} | ||
61 | \date{\today} | ||
62 | |||
63 | \begin{document} | ||
64 | |||
65 | \begin{frame} | ||
66 | \titlepage | ||
67 | \end{frame} | ||
68 | |||
69 | \begin{frame}{Template} | ||
70 | |||
71 | Common text. | ||
72 | |||
73 | \begin{itemize} | ||
74 | \item Item 1. | ||
75 | \begin{itemize} | ||
76 | \item Item 2. | ||
77 | \end{itemize} | ||
78 | \end{itemize} | ||
79 | |||
80 | \end{frame} | ||
81 | |||
82 | \end{document} | ||