forked from riboch/LaTeXLogbookTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DocumentSetup.tex
128 lines (97 loc) · 3.23 KB
/
DocumentSetup.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
%Packages and document setup
%\usepackage{fullpage}
\usepackage[all]{xy}
\usepackage{graphicx} % Figures
\usepackage{subfigure} % Subfigures
\usepackage{float} % Better handling of Floats
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{wasysym}
\usepackage[toc,page]{appendix}
\usepackage{relsize}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{color} % Colored text
\usepackage{tcolorbox} % For paper review responses
\usepackage{latexsym}
\usepackage[psamsfonts]{eucal}
%\usepackage{cite}
%\usepackage{citesort}
\usepackage[pdftex]{hyperref}
\hypersetup{pdfborder={0 0 0}}
\usepackage[margin=1in,paperwidth=8.5in,paperheight=11in]{geometry}
\usepackage{cancel} %So that I could use the cancel command.
\usepackage{pdfpages} % So that I could include pdf documents
\usepackage{makecell}
\usepackage{soul} % For striking things out. \sout or \st
\usepackage{enumerate}
%\setlength{\parindent}{0in}
\usepackage{amsthm} % For things such as Theorem
\newtheorem{theorem}{Theorem}[chapter] %Increment theorems by chapter
\newtheorem{proposition}{Proposition}[chapter]
\newtheorem{lemma}{Lemma}[chapter]
\newtheorem{corollary}{Corollary}[chapter]
\newtheorem{definition}{Definition}[chapter]
\newtheorem{remark}{Remark}[chapter]
\newtheorem{question}{Question}[chapter]
\newtheorem{problem}{Problem}
\usepackage{imakeidx} % For the index.
\makeindex[intoc]
\usepackage{algorithm} %For nice looking algorithms
%\usepackage{algorithmicx}
\usepackage{algpseudocode} %For nice looking algorithms
\usepackage{array}
\usepackage{mathrsfs} % For script letter, \mathscr
%\usepackage{pgfplots}
\usepackage{tikz} % For commutative diagrams.
\usepackage{tikz-cd} % For commutative diagrams.
\usepackage{mathtools} % For mathclap (underbrace without space)
\usepackage{pgfgantt} %For Gantt charts.
\usepackage{xcolor,colortbl}
\definecolor{Grey}{gray}{0.9}
\definecolor{White}{gray}{1}
\usepackage[T1]{fontenc}%For Biber and odd fonts
%\usepackage[T1]{fontenc}% So that listings gives the correct ASCII characters
\usepackage{listings} % For code
\lstset{
%basicstyle=\tiny,
basicstyle=\tiny,
keywordstyle=\color{blue},
commentstyle=\color{green},
stringstyle=\ttfamily,
numbers=left,%numberstyle=\noncopynumber,
columns=fullflexible
}
%\usepackage[toc]{glossaries}
%\makeglossaries
%\usepackage{epstopdf}
%\usepackage{pdflscape}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Document Look and Feel
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
%%%\fancyfoot[R]{Choroszucha\ \thepage}
\lhead{\nouppercase\leftmark}
\rhead{{YOUR NAME HERE (DocumentSetup.tex)} \thepage}
%\fancyfoot{}
%%\renewcommand{\headrulewidth}{0pt}
%%\renewcommand{\footrulewidth}{0pt}
%\setlength{\paperwidth}{8.5in}
%\setlength{\paperheight}{11in}
%\setlength{\voffset}{-0.5in}
%\setlength{\hoffset}{0in}
%\setlength{\textwidth}{6.5in}%6in
%\setlength{\textheight}{9in}
%\setlength{\oddsidemargin}{0mm}
%\setlength{\evensidemargin}{0mm}
%\setlength{\topmargin}{0in}
%\setlength{\headheight}{0.25in}
%\setlength{\headsep}{0.25in}
%\setlength{\marginparsep}{5mm}
%\setlength{\marginparwidth}{0.75in}
%\setlength{\footskip}{0.25in}
\setlength{\headheight}{15pt}
\setlength\parskip{0.125in}