-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.tex
61 lines (52 loc) · 3.09 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
\RequirePackage[l2tabu,orthodox]{nag} % Checks for incorrect or obsolete LaTeX packages
\documentclass[DIV=classic,11pt,abstracton,numbers=noenddot,listof=totoc,bibliography=totoc,parskip]{scrartcl} % Uses the KOMA-Script package with customizations
% Universal Fixes
\usepackage{fixltx2e} % Corrects LaTeX2e bugs and quirks
\usepackage{ifxetex} % Checks if XeTeX/XeLaTeX is the compiler-of-choice
% Math
\usepackage{amsmath} % Swiss-knife math package
% Graphics
\usepackage{tikz} % Engine that produces vector graphics from geometric/algebraic descriptions
\usepackage{graphicx} % Allows inserting of graphics and images
\usepackage{epstopdf} % Converts .eps files to .pdf for easy manipulation
% Layout and Format
\usepackage{parallel} % Aligns paragraphs across columns
\usepackage{lineno} % Appends line-numbers in the margin with \linenumbers
\usepackage{showkeys} % Shows label references where they are defined
\usepackage{csquotes} % Fixes inline and display quotations
\usepackage{paralist} % Allows inline enumeration in a paragraph and compact enums/lists
% Tables and Figures
\usepackage{booktabs} % For drawing nice tables with proper line weights
\usepackage{flafter} % To ensure that figures float only after they are defined/referenced
\usepackage{subfig} % Figure-ception - Allows figures within figures
\usepackage{array} % Extends options for column formats, alignments and layouts
\usepackage{tabu} % Provides better control for tables and column widths
\usepackage{longtable} % Allows tables to span across pages - integrates with tabu
\usepackage{multicol} % Allows spanning columns in tables
\usepackage{caption} % Allows greater customization of captions and captions outside floats
% Referencing
\usepackage[longnamesfirst]{natbib} % Reimplements \cite to work with author-year and numerical citations
\usepackage{cleveref} % Adds semantic naming when referencing figures
\usepackage{varioref} % Introduces referencing by page instead of figure number
% Fonts and Typography
\usepackage{microtype} % Tweaks smallish fonts and kernings
\usepackage{textcomp} % Supports the Text Companion font, which provides additional text symbols
\usepackage{siunitx} % Provides support for typesetting SI units
\usepackage{ellipsis} % Fixes space uneveness around ellipses
\usepackage{url} % Allows encapsulated URLs to break across lines
\usepackage[colorlinks,hypertexnames=false,plainpages=false]{hyperref} % Converts \url references to valid hyperlinks in PDF documents
\ifxetex
\usepackage{fontspec} % Allows usage of system opentype/truetype fonts
\setsansfont[BoldFont={* Bold}]{Miso} % Sets the Header font via system font name
\setmainfont[BoldFont={CMU Concrete Bold Extended Roman},ItalicFont={CMU Concrete Italic},BoldItalicFont={CMU Concrete Bold Extended Italic}]{CMU Concrete Roman}% Sets the Body font via system font name
\else
\usepackage[T1]{fontenc} % Sets output font encoding to support accented characters and Type 1 fonts
\usepackage{lmodern} % Swaps out ancient Computer Modern font for Latin Modern
\fi
% Title Information
\title{}
\author{}
\date{\small correct as of \today}
\begin{document}
\maketitle
\end{document}