summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/handin/example.tex
blob: 4f4ba6ab3ce489a2072d2cfaed7dc32886f0d58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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}