Skip to content
Snippets Groups Projects
Select Git revision
  • 6391bf19f9c11a1503ba3e77124af9f54a1c55ea
  • master default
2 results

preamble.tex

Blame
  • Dmytro Bogatov's avatar
    Dmytro Bogatov authored
    6391bf19
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    preamble.tex 1.67 KiB
    % cSpell:disable
    
    \usetheme[
    	progressbar=frametitle,
    	titleformat section=smallcaps
    ]{metropolis}
    
    \ifnotes%
    	\setbeameroption{show notes on second screen}
    \fi
    
    \title{Data-X Talk} % chktex 13
    
    \subtitle{Path ORAM:\ An Extremely Simple Oblivious RAM Protocol~\cite{DBLP:journals/corr/abs-1202-5150}}
    
    \date{Built from \href{https://git.dbogatov.org/bu/PathORAM-Talk/commit/\version}{\emph{\version}} on \today}
    
    \author{Dmytro Bogatov \\ dmytro@bu.edu}
    
    \institute{Boston University}
    
    \logo{
    	\includegraphics[
    		width=1cm,
    		height=1cm,
    		keepaspectratio
    	]{static/logo.eps}\hspace{325pt}\vspace{-30pt}
    }
    
    \addbibresource{bibfile.bib}
    
    \makeatletter
    	\def\beamer@framenotesbegin{% at beginning of slide
    		\usebeamercolor[fg]{normal text} 
    			\gdef\beamer@noteitems{}%
    			\gdef\beamer@notes{}% 
    	}
    \makeatother
    
    
    \newcommand{\BigO}[1]{\mathcal{O}\left(#1\right)}
    \newcommand{\BigOmega}[1]{\Omega\left(#1\right)}
    \newcommand{\RAM}{\textbf{RAM}}
    
    \DeclarePairedDelimiter\ceil{\lceil}{\rceil}
    \DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
    
    \lstset{
    	mathescape=true,
    	numbers=left,
    	tabsize=4,
    	numbersep=10pt,
    	breaklines=true,
    	showtabs=false,
    	morekeywords={for,end,do,while,if,then,else,Applies,when,return,true,false,Action},
    	basicstyle=\normalfont,
    	columns=fullflexible,
    	frame=leftline,
    	xleftmargin=15pt,
    	escapechar=|
    }
    
    \newsavebox{\mybox}
    
    \xpatchbibmacro{name:andothers}{%
    	\bibstring{andothers}%
    }{%
    	\bibstring[\emph]{andothers}%
    }{}{}
    
    \ifrelease%
    	\newsavebox\watermark%
    	\savebox\watermark{\tikz[color=gray,opacity=0.02]\node{\begin{tabular}{c} Dmytro Bogatov \\ BU Class of 2023 \end{tabular}};}
    	\newwatermark*[
    		allpages,
    		angle=0,
    		scale=3,
    		xpos=0,
    		ypos=-25
    	]{\usebox\watermark}
    \fi