-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path04-improvements.tex
39 lines (32 loc) · 1.4 KB
/
04-improvements.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
% Provides: Improvements for LaTeX default environments or options
% Requires: /
% Prevents page numbers and headings from appearing on empty pages.
\usepackage{emptypage}
% Allows the [H]-option for figures and tables, placing it exactly HERE.
\usepackage{float}
% Visually pleasing captions and subcaptions.
\usepackage{caption}
\usepackage{subcaption}
% Seems like a good default, but might need to be adjusted in two-column documents.
\captionsetup{margin=10pt,font=small,labelfont=bf}
% Provides quotation-commands and styling options.
% The ‘autostyle’ makes csquotes use the default quotation style of the doucment‘s language. (Requires a language to be set via babel.)
\usepackage[autostyle]{csquotes}
% Better table layout (especially less clutter)
\usepackage{booktabs}
% Allows the “D”-column type in tabular, aligning mathematical expressions in a table column (usually decimal separator)
\usepackage{dcolumn}
% Allows merging rows or cells across rows.
\usepackage{multirow}
% allows using the ‘\rowcolors’ command
\usepackage{colortbl}
% Some packages misbehave with beamer.
\iftoggle{is-beamer}{}{
% Fine-grained control over ‘enumerate’ and ‘itemize’ environments.
% Either set options per environment or globally via ‘\setlist[…]{…}’
\usepackage{enumitem}
\setlist{noitemsep}
\setlist[1]{labelindent=\parindent}
\setlist[itemize]{leftmargin=*}
}
\toggletrue{04-improvements}