From 01aa5b03b45386ca349b09bbbc49136295927559 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 22 Aug 2020 21:27:18 -0400 Subject: Talk template --- main.tex | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 main.tex (limited to 'main.tex') diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..dd8c57f --- /dev/null +++ b/main.tex @@ -0,0 +1,153 @@ +\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}%\\\\Funded in part by an NSERC Postgraduate Fellowship} + +\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} + +\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} -- cgit v1.2.3