forked from Nepomuk/LaTeX-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_preamble.tex
More file actions
59 lines (48 loc) · 2.41 KB
/
_preamble.tex
File metadata and controls
59 lines (48 loc) · 2.41 KB
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
%!TEX root = template.tex
% -- packages -------------------------------------- %
% basic layout of the document
\documentclass[
11pt, a4paper, % font and paper size
fleqn, % align equations to the left
twoside, openright, % two sided option with new chapters on the right page
\status % the status (defined in main document)
]{memoir}
% general stuff
\usepackage[utf8]{inputenc} % Input-Encoding
% (encoding which is used for saving)
\usepackage[TS1,T1]{fontenc} % Output-Encoding
% (Latin1 [T1] with additional sepecial characters [TS1])
% \usepackage[ngerman]{babel} % German language package
\usepackage[english]{babel} % English language package
% font and symbols
\usepackage{amssymb,amsmath} % more math symbols and environments
% \usepackage{textcomp} % even more special characters
\usepackage{tikz} % used to make circled numbers
\usepackage{color} % define your own colors
\usepackage{scrhack} % fixes an error caused by listings package
\usepackage{listings} % enables syntax highlighting for your code
% \usepackage{helvet} % change the font for titles
\usepackage{fontspec} % customized fonts
% configuration
\usepackage{hyperref} % hyperlinks in PDF
% The two following packages don't work with the memoir style
% \usepackage{fancyhdr} % configure your page header
% \usepackage[noindentafter]{titlesec} % configure titles
% image stuff
\usepackage{graphicx} % include graphics
\usepackage{rotating} % rotate images
% \usepackage{caption} % customize your captions (memoir incompatible)
% \usepackage{subfig} % sub-captions (memoir incompatible)
\usepackage{wrapfig} % wrap text around images and tables
% table stuff
\usepackage{booktabs} % professional tables
\usepackage{multirow} % combine table rows
% \usepackage{arydshln} % dashed lines in tables
% additional packages (mixed)
% \usepackage{keystroke} % display keystrokes
\usepackage{xspace} % adds spaces to the end of commands if needed
% packages that help during draft versions
% (change document option from draft to final to disable)
\usepackage[obeyDraft,textsize=scriptsize]
{todonotes} % notes and missing images
\usepackage{showlabels} % show label names next to numbering