summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/handin/example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/handin/example.tex')
-rw-r--r--macros/latex/contrib/handin/example.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/latex/contrib/handin/example.tex b/macros/latex/contrib/handin/example.tex
new file mode 100644
index 0000000000..4f4ba6ab3c
--- /dev/null
+++ b/macros/latex/contrib/handin/example.tex
@@ -0,0 +1,21 @@
+\documentclass{article}
+\usepackage[english]{babel}
+% ^ Supports [english], [german] and [norsk] (norwegian)
+\usepackage{handin}
+
+\title{Assignment 1}
+\author{The name}
+\coursename{TST-101}
+\coursetitle{Test course}
+\institute{Institute of Physics and Technology}
+%Values below are optional and defaults as given:
+\pagetext{Page \thepage~of \pageref{LastPage}}
+\containspages{Contains \pageref{LastPage} pages, front page included}
+
+\begin{document}
+ \maketitle
+ \problem{1}
+ \pproblem{a}
+ Gauss law tells us that
+ \[ \oiint\limits_{S}\vec E\cdot \mathrm{d}\vec{S}=\frac{Q_{\text{enc}}}{\varepsilon_0} \]
+\end{document}