summaryrefslogblamecommitdiff
path: root/main.tex
blob: 26ca6cbbb9ede886639c5a4ee36e9b4b83cb7afe (plain) (tree)
1
2
3
4
5
6
7
8





                                         

                           











                                        
 






                                            
 

                     
                                                   
 














                                                     
 

                     
 
                
 
                           
 











































                                                                                   






























































                                                                                                                             



























                                                                                                                                 







                                                                                      










                      
                                                
                                     

                                                     
 















                                                                       



                       






                                              
% \documentclass[12pt,dvipsnames]{beamer}
\documentclass[
12pt,
dvipsnames,
aspectratio=169
]{beamer}

\usepackage[utf8]{inputenc}
\usepackage[canadian]{babel}

\usetheme[
progressbar=frametitle,
block=fill,
sectionpage=progressbar,
%titleformat section={smallcaps},
]{metropolis}
\usecolortheme[snowy]{owl}
\setbeamercolor{alerted text}{fg = blue}
\setbeamercolor{progress bar}{fg = blue}
\setbeamertemplate{caption}[default]

\usepackage{arevmath}
\setsansfont[
BoldFont={FiraSans-SemiBold.otf},
ItalicFont={FiraSans-BookItalic.otf},
BoldItalicFont={FiraSans-SemiBoldItalic.otf}
]{FiraSans-Book.otf}
\setmonofont{FiraMono-Regular.otf}


\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right}

\usepackage{ifxetex}
\ifxetex
  % Fix invisible text when using pgfpages + xelatex:
  % https://github.com/josephwright/beamer/issues/337
  \AtBeginSection{
    \frame{\insertsectionhead}
  }
  \makeatletter
  \def\beamer@framenotesbegin{% at beginning of slide
    \usebeamercolor[fg]{normal text}
    \gdef\beamer@noteitems{}%
    \gdef\beamer@notes{}%
  }
\makeatother
\fi

\usepackage{luacolor}
\usepackage{lua-ul}

\usepackage{svg}

\usepackage[none]{hyphenat}

\usepackage{appendixnumberbeamer}
% \setbeamercolor{block title example}{fg = mDarkTeal}
% \AtBeginEnvironment{exampleblock}{\setbeamercolor{itemize item}{fg = mDarkTeal}}

\definecolor{definedcarmine}{rgb}{0.59, 0.0, 0.09}
\definecolor{definedpinegreen}{HTML}{006379}
\definecolor{definedfuschia}{RGB}{192,34,136}
\definecolor{definedrred}{HTML}{790000}
\definecolor{definedrblue}{RGB}{0,70,190}
\newcommand{\rred}{definedrred}
\newcommand{\rgreen}{definedpinegreen}
\newcommand{\rblue}{definedrblue}

\newcommand{\resetcolor}{
  % owl
  \setbeamercolor*{frametitle}{
    use=palette primary,
    parent=palette primary,
  }
  \setbeamercolor*{section title}{
    use=normal text,
    fg=normal text.fg
  }
  \setbeamercolor*{alerted text}{
    fg=blue
  }
  % metropolis
  \setbeamercolor*{progress bar}{%
    use=alerted text,
    fg=alerted text.fg,
    bg=alerted text.fg!50!black!30
  }
}
\newcommand{\sectioncolor}[1]{
  \setbeamercolor{frametitle}{fg=#1}
  \setbeamercolor{section title}{fg=#1}
  \setbeamercolor{progress bar}{fg=#1}
  \setbeamercolor{alerted text}{fg=#1}
}
\resetcolor
\newcommand{\grey}[1]{{\color{black!50}{#1}}}

\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}

\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[UQAM]{Université du Québec à Montréal}
\def\insertthanks{Nous remercions le Conseil de recherches en sciences naturelles et en génie du Canada (CRSNG) de son soutien.}
%\def\insertthanks{We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC).}

\setbeamertemplate{thanks}{%
  \vspace*{3mm}
  \parindent 0em\noindent%
  \raggedright
  \usebeamercolor{footnote}\scriptsize\insertthanks\par%
}

% Taken from {beamerinnerthememetropolis}[2017/01/23 Metropolis inner theme]
\setbeamertemplate{title page}{
  \setcounter{footnote}{0}
  \begin{minipage}[b][\paperheight]{\textwidth}
    \ifx\inserttitlegraphic\@empty\else\usebeamertemplate*{title graphic}\fi
    \vfill%
    \ifx\inserttitle\@empty\else\usebeamertemplate*{title}\fi
    \ifx\insertsubtitle\@empty\else\usebeamertemplate*{subtitle}\fi
    \usebeamertemplate*{title separator}
    \ifx\beamer@shortauthor\@empty\else\usebeamertemplate*{author}\fi
    \ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
    \ifx\insertinstitute\@empty\else\usebeamertemplate*{institute}\fi
    \ifx\insertthanks\@empty\else\usebeamertemplate*{thanks}\fi
    \vfill
    \vspace*{1mm}
  \end{minipage}
}

\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};}

\usepackage{etoolbox}

\begin{document}

\maketitle

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

% To change the theme colour to, e.g., lavender:
% \renewcommand{\currcolor}{lavender}
% To reset it:
% \newcommand{\resetcolor}{\def\currcolor{mDarkTeal}}

\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.

  \end{thebibliography}
\end{frame}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-engine: luatex
%%% TeX-command-extra-options: "-shell-escape"
%%% TeX-master: t
%%% End: