summaryrefslogtreecommitdiff
path: root/main.tex
blob: ab07b29961348286651be994111d5abec8e78256 (plain) (blame)
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
\documentclass[12pt,dvipsnames]{beamer}

\usepackage[utf8]{inputenc}

\usepackage{pgfpages}

\setbeameroption{show notes on second screen=right}
\usetheme[progressbar=frametitle]{metropolis}
% \usepackage{appendixnumberbeamer}
\setbeamercolor{block title example}{fg = mDarkTeal}
\AtBeginEnvironment{exampleblock}{\setbeamercolor{itemize item}{fg =
    mDarkTeal}}
\setbeamertemplate{caption}[default]

\newcommand{\resetcolor}{\def\currcolor{mDarkTeal}}
\newcommand{\currcolor}{}
\resetcolor
\setbeamercolor{frametitle}{bg=\currcolor}
\setbeamercolor{section title}{fg=\currcolor}

\usepackage{color}

\newcommand{\rgreen}{mDarkTeal}
\newcommand{\roran}{orange}
\definecolor{definedrblue}{RGB}{8,0,128}
\definecolor{definedpinegreen}{RGB}{1,121,111}
\definecolor{definedfuschia}{RGB}{202,44,146}
\definecolor{definedcarmine}{rgb}{0.59, 0.0, 0.09}
\definecolor{lavender}{rgb}{0.67, 0.38, 0.8}

\newcommand{\red}[1]{{\color{Maroon}{#1}}}
\newcommand{\darkred}[1]{{\color{definedcarmine}{#1}}}
\newcommand{\green}[1]{{\color{definedpinegreen}{#1}}}
\newcommand{\blue}[1]{{\color{definedrblue}{#1}}}
\newcommand{\grey}[1]{{\color{mDarkTeal!75}{#1}}}
\newcommand{\orange}[1]{{\color{orange}{#1}}}
\newcommand{\fuschia}[1]{{\color{definedfuschia}{#1}}}
\newcommand{\lavender}[1]{{\color{lavender}{#1}}}

\usepackage{amsmath}
\usepackage{amsfonts}

\newcommand{\backupbegin}{
  \newcounter{finalframe}
  \setcounter{finalframe}{\value{framenumber}}
}
\newcommand{\backupend}{
  \setcounter{framenumber}{\value{finalframe}}
}

\usepackage{tikz}
\usepackage{forest}
\usepackage{tikz-cd}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{positioning}
\usetikzlibrary{matrix}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{plothandlers}
\usetikzlibrary{decorations}

\tikzset{
  invisible/.style={opacity=0},
  visible on/.style={alt={#1{}{invisible}}},
  alt/.code args={<#1>#2#3}{%
    \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}%
  }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% absolute positioning of typeset material
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% https://tex.stackexchange.com/questions/311007/change-package-option-overlay-from-textpos-package-in-document/311031#311031
\newcommand{\placetextbox}[4][center]{%
  % [#1]: box anchor: center (default) |
  % south west | west | north west | north |
  % north east | east | south east | south |
  % mid west | mid | mid east |
  % base west | base | base east
  % #2: horizontal position (fraction of page width)
  % #3: vertical position (fraction of page height)
  % #4: content
  %
  \tikz[remember picture,overlay,x=\paperwidth,y=\paperheight]{%
    \node[anchor=#1,inner sep=0pt]
    at ($(current page.south west)+(#2,#3)$) {#4};
  }%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Useful shortcuts for math fonts
\newcommand{\ms}{\mathsf}
\newcommand{\mb}{\mathbf}
\newcommand{\mi}{\mathit}
\newcommand{\mt}{\mathtt}
\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}

\title{TITLE}
\subtitle{SUBTITLE}
\date{CONFERENCE}
\author{Ryan Kavanagh}
\institute{Carnegie Mellon University}

\newenvironment<>{question}[1]{\begin{exampleblock}{Question}{#1}}{\end{exampleblock}}
\newenvironment<>{fact}[1]{\begin{exampleblock}{Fact}{#1}}{\end{exampleblock}}
\newtheorem{proposition}[theorem]{Proposition}

\newcommand{\nti}[1]{\note[item]{#1}}
\newcommand{\tikzmark}[1]{\tikz[remember picture] \node[coordinate] (#1) {#1};}

\tikzset{node/.style = {align=center,draw=\roran, very thick,
    fill=\rgreen,rounded corners,text = white, text centered}}

\usepackage{etoolbox}

\begin{document}

\maketitle

\begin{frame}[t]
  \nti{A Note}
  \frametitle{A Title}
\end{frame}

% To change the theme colour to lavender:
% \renewcommand{\currcolor}{lavender}

\begin{frame}[allowframebreaks]
  \frametitle{Related Work}

  \begin{thebibliography}{abcdef}

  \bibitem[AJ95]{AJ95}
    Abramsky, Samson and Achim~Jung.
    \newblock Domain Theory
    \newblock {\em Handbook of Logic in Computer Science}. Vol 3, 1995.

  \bibitem[BE]{BE}
    Bloom, Stephen L. and Zolt{\'a}n {\'E}sik.
    \newblock Some Equational Laws of Initiality in {2CCC}'s
    \newblock {\em International Journal of Foundations of Computer
      Science}, \textbf{6}(2):95-118, 1995.

  \bibitem[F94]{F94}
    Fiore, Marcelo P.
    \newblock Axiomatic Domain Theory in Categories of\\
    Partial Maps
    \newblock PhD thesis. The University of Edinburgh, 1994.

  \end{thebibliography}
\end{frame}

\end{document}