\newcommand {\framedgraphic}[2] {
\begin{frame}{#1}
\begin{center}
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#2}
\end{center}
\end{frame}
}
\hypersetup{
breaklinks=true,
linktocpage=false,
colorlinks=true,
urlcolor=blue,
linkcolor=blue,
citecolor=black
}
\newcommand{\myCode}[1]{\colorbox{gray!30}{#1}}
\usepackage{accsupp}
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
\let\theHFancyVerbLine\theFancyVerbLine
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}