mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
added source code examples
This commit is contained in:
parent
9e7aaedd53
commit
3e1dba9d8b
6 changed files with 112 additions and 0 deletions
13
documents/source-code-minted/minted-code-inclusion.tex
Normal file
13
documents/source-code-minted/minted-code-inclusion.tex
Normal file
|
@ -0,0 +1,13 @@
|
|||
\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}
|
Loading…
Add table
Add a link
Reference in a new issue