forked from WCSim/WCSim-Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
65 lines (57 loc) · 1.6 KB
/
preamble.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
\documentclass[11pts,english,letterpaper]{scrartcl}
%\usepackage{SIunits}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{float}
\usepackage{geometry}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{layout}
\usepackage{mathpazo}
\usepackage{microtype}
%\usepackage{blindtext}
\usepackage{xcolor}
\usepackage{tabularx}
\usepackage{paralist}
\usepackage{setspace}
\usepackage{makeidx}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{lscape}
\usepackage{listings}
\usepackage[margin=0.5cm,font=small,labelfont=bf]{caption}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{lgray}{rgb}{0.8,0.8,0.8}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{
language=C++,
basicstyle=\tt\small,
xleftmargin=1cm,
xrightmargin=1cm,
breaklines=false,
rulecolor=\color{black},
% backgroundcolor=\color{lgray},
keywordstyle=\color{blue}, % keyword style
commentstyle=\color{dkgreen}, % comment style
stringstyle=\color{mauve}, % string literal style
morekeywords={TTree},
morekeywords={->}
}
\makeindex
\usepackage[colorlinks,linktocpage]{hyperref}
\newcommand\ERR[3][]{$\left(#2 \pm #3\right) #1$}
\newcommand\ERRm[3][]{\left(#2 \pm #3\right) #1}
\newcommand\DIF[2][]{\frac{\text{d}#1}{\text{d}#2}}
\newcommand\grad[0]{{}^\circ}
\newcommand\srcfile[1]{\texttt{src/WCSim#1}}
\newcommand\volume[1]{\textsf{\textbf{#1}}}
%\floatstyle{ruled}
%\newfloat{Beispiel}{!htb}{lop}[section]
%\restylefloat{table}
\floatplacement{figure}{!htb}