-
Notifications
You must be signed in to change notification settings - Fork 1
/
QUT-Notes-Template Exam Notes.tex
65 lines (54 loc) · 1.52 KB
/
QUT-Notes-Template Exam Notes.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
%!TEX TS-program = xelatex
%!TEX options = -aux-directory=Debug -shell-escape -file-line-error -interaction=nonstopmode -halt-on-error -synctex=1 "%DOC%"
\documentclass{article}
\input{LaTeX-Submodule/template.tex}
% Additional packages & macros
\usepackage{changepage} % Modify page width
\usepackage{multicol} % Use multiple columns
\usepackage[explicit]{titlesec} % Modify section heading styles
\titleformat{\section}{\raggedright\normalfont\bfseries}{}{0em}{#1}
\titleformat{\subsection}{\raggedright\normalfont\small\bfseries}{}{0em}{#1}
%% A4 page
\geometry{
a4paper,
margin = 10mm
}
%% Hide horizontal rule
\renewcommand{\headrulewidth}{0pt}
\fancyhead{}
%% Hide page numbers
\pagenumbering{gobble}
%% Multi-columns setup
\setlength\columnsep{4pt}
%% Paragraph setup
\setlength\parindent{0pt}
\setlength\parskip{0pt}
% Metadata for README
% ! Unit name
\newcommand{\unitName}{Unit name}
% ! Unit semester
\newcommand{\unitTime}{Semester #, 20xx}
% ! Unit coordinator name
\newcommand{\unitCoordinator}{Unit coordinator name}
% ! Document authors
\newcommand{\documentAuthors}{Authors}
%% Copyright
\usepackage[
type={CC},
modifier={by-nc-sa},
version={4.0},
imagewidth={5em},
hyphenation={raggedright}
]{doclicense}
\begin{document}
% Modify spacing
\titlespacing*\section{0pt}{1ex}{1ex}
\titlespacing*\subsection{0pt}{1ex}{1ex}
%
\setlength\abovecaptionskip{8pt}
\setlength\belowcaptionskip{-15pt}
\setlength\textfloatsep{0pt}
%
\setlength\abovedisplayskip{1pt}
\setlength\belowdisplayskip{1pt}
\end{document}