Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions header.tex
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,20 @@
% Trennung von Wörtern mit Strichen
\usepackage[shortcuts]{extdash}

% Code Einbindung
\usepackage{xcolor}
\definecolor{LightGray}{gray}{0.9}
\usepackage{minted}
\setminted{
autogobble,
breaklines,
stripnl=true,
style=tango,
baselinestretch=1.2,
bgcolor=LightGray,
fontsize=\footnotesize,
}

\author{%
AUTOR A\\%
\href{mailto:[email protected]}{[email protected]}%
Expand Down
12 changes: 12 additions & 0 deletions vXXX/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ build/$(TEXFILE).pdf: FORCE | build
--halt-on-error \
$(TEXFILE).tex

preview: FORCE | build
TEXINPUTS=..: \
BIBINPUTS=..: \
max_print_line=1048576 \
latexmk \
-pvc \
--lualatex \
--output-directory=build \
--interaction=nonstopmode \
--halt-on-error \
$(TEXFILE).tex

build:
mkdir -p build

Expand Down
24 changes: 24 additions & 0 deletions vXXX/content/durchfuehrung.tex
Original file line number Diff line number Diff line change
@@ -1,2 +1,26 @@
\section{Durchführung}
\label{sec:Durchführung}

Nicht jedes Protokoll muss in der Reihenfolge
\begin{itemize}
\item Theorie
\item Durchführung
\item Auswertung
\item Diskussion
\end{itemize}
geschrieben werden.
Wenn es der Versuch zu lässt, ist zum Beispiel auch Folgendes möglich:
\begin{itemize}
\item Theorie
\item Durchführung
\item Material 1
\begin{itemize}
\item Auswertung
\item Diskussion
\end{itemize}
\item Material 2
\begin{itemize}
\item Auswertung
\item Diskussion
\end{itemize}
\end{itemize}
3 changes: 3 additions & 0 deletions vXXX/content/minted.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
\section{Python-Code}

\inputminted{python3}{plot.py}
2 changes: 2 additions & 0 deletions vXXX/vXXX.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@

\printbibliography{}

\input{content/minted.tex}

\end{document}