-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackages.tex
38 lines (37 loc) · 960 Bytes
/
packages.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
% Tell me about my LaTeX bad practices
\usepackage[l2tabu, orthodox]{nag}
% For \hypersetup
\usepackage{hyperref}
% For line brakes in tables
\usepackage{tabularx}
% For the split environment
\usepackage{amsmath}
% For tabs in verbatim
\usepackage{moreverb}
% For fancy verbatim (use this one in mymulticol)
\usepackage{alltt}
% For splitting long lists into columns
\usepackage{multicol}
% For no multicol on the kindle
\usepackage{environ}
\newif\ifmulticols
\NewEnviron{mymulticols}{
\ifmulticols
\begin{multicols}{2}
\BODY
\end{multicols}
\else
\BODY
\fi}
% Means you don't have to put \\ to start a new line.
\usepackage[parfill]{parskip}
% Make LaTeX pretty with better kerning etc
\usepackage{microtype}
% If enabled, maybe skip certain stuff or do it for less time to compile faster
\ifdefined\fastCompile
% Fast param here:
% \newcommand{\samplesScaleFactor}{0.1}
\else
% Slow param here:
% \newcommand{\samplesScaleFactor}{1.0}
\fi