2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/source-code-minted/minted-code-inclusion.tex
2012-11-18 14:04:10 +01:00

13 lines
532 B
TeX

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