aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet/algorithmik/if/code1.tex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-04-27 17:01:07 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-04-27 17:01:07 +0200
commit45fd6810d6edac6539a5e74963245f20fbf8e2e0 (patch)
treeee7b534d7d3045cf29bac66ff71087f9a9779590 /Info/9/3/Planet/algorithmik/if/code1.tex
parent6f9f18324234d62c16e657a003c905171092ca4d (diff)
downloadunterricht-45fd6810d6edac6539a5e74963245f20fbf8e2e0.tar.gz
unterricht-45fd6810d6edac6539a5e74963245f20fbf8e2e0.zip
add if section for the planet
Diffstat (limited to 'Info/9/3/Planet/algorithmik/if/code1.tex')
-rw-r--r--Info/9/3/Planet/algorithmik/if/code1.tex18
1 files changed, 18 insertions, 0 deletions
diff --git a/Info/9/3/Planet/algorithmik/if/code1.tex b/Info/9/3/Planet/algorithmik/if/code1.tex
new file mode 100644
index 00000000..dd1a3c96
--- /dev/null
+++ b/Info/9/3/Planet/algorithmik/if/code1.tex
@@ -0,0 +1,18 @@
+\documentclass[border={8mm, 0mm, 2mm, 0mm}, varwidth]{standalone}
+\usepackage{minted}
+\begin{document}
+\begin{minipage}{6cm}
+\begin{minted}[
+linenos,
+]{java}
+if(gesteinVorhanden())
+{
+ fahre();
+}
+else
+{
+ setzeMarke();
+}
+\end{minted}
+\end{minipage}
+\end{document}