forked from ZackNoyes/mycommands
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.tex
More file actions
39 lines (29 loc) · 1.09 KB
/
template.tex
File metadata and controls
39 lines (29 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% Sets the document type to article, the paper size to A4 and the font size to 12
\documentclass[a4paper,12pt]{article}
% Imports the .sty file, see the comment in that file about where it needs to be located
\input{commands}
\begin{document}
% For if you want a title page
\author{First Last --- ID number}
\title{COURSE CODE Assignment ASSIGNMENT NUMBER}
\date{\today}
\maketitle
\newpage
% For an assignment with questions, you may want to use the question environment
\begin{question}{1}[Proving $1+1=2$]
% Using the amsthm environments defined in commands.sty may be useful to structure an answer
\begin{lem}[The Riemann Hypothesis]
\begin{equation*}
\left\{x : \zeta(x+yi) =0 \wedge x \neq \frac{1}{2}\right\} \neq \emptyset
\end{equation*}\label{lem1}
\end{lem}
\begin{proof}
Trivial.
\end{proof}
We conclude from \cref{lem1} that $1+1=2$.
% Note that if we need to write another paragraph, we don't
% need to put the backslashes at the end of the previous line,
% \setlength{\parskip}{1em} in the .sty file handles this for you.
Another paragraph.
\end{question}
\end{document}