Verified Commit 19efc833 authored by Adrian C. Hinrichs's avatar Adrian C. Hinrichs
Browse files

Add Exercise environment

parent 4db6f02f
......@@ -65,5 +65,12 @@ Abgabe: \@abgabe\\
\end{centering}
}
\newcounter{aufgaben}
\setcounter{aufgaben}{1}
\newcommand{\newexercise}{\section*{Aufgabe \arabic{aufgaben}} \addtocounter{aufgaben}{1}}
\newcommand{\exercise}[1]{\section*{#1}}
\newcommand{\solution}{\subsection*{L\"osung}}
\newcommand{\proof}{\subsection*{Beweis}}
\endinput
%ToDo: Besipieldokument erstellen und ausgabe ansehehn
\ No newline at end of file
No preview for this file type
\documentclass[twoside]{HomeworkAssignment}
\usepackage{lipsum}
\author{Adrian C. Hinrichs Matr. 367129}
\author{Adrian C. Hinrichs Matr. 74656}
\date{\today}
\begin{document}
\maketitle
\newexercise
\lipsum[1]
\solution
\lipsum[2]
\lipsum[3]
\newexercise
\lipsum[4]
\proof
\lipsum[5]
\exercise{Bonusaufgabe}
\lipsum[6]
\solution
\lipsum[7]
\end{document}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment