forked from spearbit-audits/report-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
64 lines (41 loc) · 1.44 KB
/
main.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
% An extension of article to include 17pt font size
\documentclass[14pt]{extarticle}
\usepackage[T1]{fontenc}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
% \usepackage[helvet]{sfmath}
% \everymath={\sf}
\usepackage{parskip}
\usepackage[english]{babel}
\usepackage[left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry}
% Math packages
\usepackage{amsmath,amsfonts,amsthm}
\usepackage[pdftex]{graphicx}
% For hyphenation of texttt:
% https://tex.stackexchange.com/questions/299/how-to-get-long-texttt-sections-to-break
\usepackage[htt]{hyphenat}
% For syntax highlighting
\usepackage{minted}
\setminted[]{frame=single,fontsize=\small,samepage=true,breaklines=true}
\usepackage{xcolor}
\definecolor{Primitive}{HTML}{000066}
% For links
\usepackage[hyphens]{url}
\PassOptionsToPackage{hyphens}{url}\usepackage[hidelinks = true, colorlinks = true, linkcolor = black, urlcolor = Primitive]{hyperref}
\def\tightlist{}
\usepackage{longtable}
\usepackage{xcolor}
\usepackage{relsize}
\usepackage{fontspec}
\usepackage{tikz}
% Adding breaklines=true to minted's settings seems to produce some errors related to fonts. This is
% the only fix that worked.
% https://stackoverflow.com/questions/70075331/pdflatex-file-cmss10-t3-cannot-open-type-1-font-file-for-read
\pdfmapfile{-mpfonts.map}
\begin{document}
\setmainfont{Daggersquare regular.otf}
\include{title.tex}
\include{summary.tex}
\tableofcontents
\include{report.tex}
\end{document}