-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tex
78 lines (49 loc) · 1.73 KB
/
template.tex
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
% mathermatics
\usepackage{amssymb} % useful math symbols
\usepackage{amsmath} % more useful math
% graphics
\usepackage{graphicx}
\usepackage{float} % for more accurate graphics placement
\usepackage{fancyhdr} % for top header
% references
\usepackage{hyperref} % needed by cleveref, also provides clickable links
\usepackage{cleveref} % needed by autonum
\usepackage{autonum} % only add numbers to referenced equations
% formatting
\usepackage{enumitem} % provides easy change of labels in enumerate environment
\usepackage[top=3cm, bottom=4cm, width=17cm]{geometry} % for smaller page margins
% colors
\usepackage{xcolor}
% coding
%
% uncomment this after you have completed the required installation
% see https://github.com/gpoore/minted for info
%\usepackage{minted}
%\definecolor{codeBgColor}{RGB}{240,240,240}
% very simple alias, \ex{} becomes the same as \subsubsection*{}
% TIP: remove the * in the line below if you want it numbered
\newcommand{\ex}[1]{\subsubsection*{#1}}
%Begining of the document
\begin{document}
\pagestyle{fancy} % use pagestyle with simple header (from fancyhdr)
%\pagenumbering{gobble} % uncomment to remove pagenumbering (in case of single page document)
\fancyhead[L]{Course name + code}
\fancyhead[C]{\textbf{Assignment title}}
\fancyhead[R]{Author name ( + student ID )}
\ex{Exercise \#}
\begin{enumerate}[label=\alph*)]
\item
\item
\end{enumerate}
\ex{Exercise \#}
\begin{enumerate}[label=\alph*)]
\item
\item
\end{enumerate}
%% uncomment this if you need references. Edit the .bbl file with your references
%% and use "\cite{bibitem-label}" to cite
%\bibliography{template}
\end{document}