2012-11-18 14:04:10 +01:00
|
|
|
\documentclass{beamer}
|
|
|
|
\usepackage[utf8]{inputenc} % this is needed for german umlauts
|
|
|
|
\usepackage[ngerman]{babel} % this is needed for german umlauts
|
|
|
|
\usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
|
|
|
|
\usepackage{minted} % needed for the inclusion of source code
|
|
|
|
|
2012-11-18 21:26:04 +01:00
|
|
|
% from http://tex.stackexchange.com/questions/57151/how-do-i-prevent-conflicts-between-accsupp-and-hyperref
|
|
|
|
\usepackage{accsupp}
|
|
|
|
\newcommand\emptyaccsupp[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
|
|
|
|
|
|
|
|
|
|
|
|
%default definition is: \def\theFancyVerbLine{\rmfamily\tiny\arabic{FancyVerbLine}}
|
|
|
|
\let\theHFancyVerbLine\theFancyVerbLine% don't apply our patch to hyperref's version
|
|
|
|
\def\theFancyVerbLine{\rmfamily\tiny\emptyaccsupp{\arabic{FancyVerbLine}}}
|
|
|
|
|
2012-11-18 14:04:10 +01:00
|
|
|
\begin{document}
|
|
|
|
\section{Section}
|
|
|
|
\subsection{MySubSection}
|
|
|
|
\begin{frame}{Blubtitle}
|
|
|
|
\inputminted[linenos=true, numbersep=5pt, tabsize=4, fontsize=\small]{java}{IataCode.java}
|
|
|
|
\end{frame}
|
|
|
|
\end{document}
|