-
Notifications
You must be signed in to change notification settings - Fork 0
/
CU-thesis.sty
44 lines (41 loc) · 1.53 KB
/
CU-thesis.sty
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
\ProvidesPackage{CU-thesis}
\usepackage[top=1in,right=1in,bottom=1in,left=1.5in]{geometry}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{parskip}
\setlength{\parindent}{1.5em}
\setlength{\parskip}{3mm}
\usepackage{graphicx}
\usepackage{setspace}
\doublespacing
\usepackage{enumitem} % For \begin{enumerate}[label=(\alph*)]
\usepackage[sort&compress]{natbib}
\setcitestyle{numbers,comma,super,open={},close={}}
\usepackage[hidelinks,colorlinks=true,allcolors=blue,linktocpage,breaklinks]{hyperref}
\usepackage[nottoc]{tocbibind}
\usepackage{url}
\def\UrlBreaks{\do\/\do-}
\usepackage{booktabs}
\usepackage{float}
\usepackage{caption}
\captionsetup[figure]{font=small}
\captionsetup[table]{font=small} % Comment out if no tables
\captionsetup[algorithm]{font=small} % Comment out if no algs
\usepackage{subcaption} % Comment out if no subfigures
\usepackage{lipsum} % Demo text
\usepackage{color}
\usepackage{bm} % Bold math symbols
\usepackage{pbox} % For fitting big things into tables
\usepackage{pdflscape} % Comment out if no landscape pages
\usepackage{algorithmic} % Comment out if no algs
\usepackage{algorithm} % Comment out if no algs
% Algorithm stuff
\newcommand{\algorithmautorefname}{Algorithm}
\renewcommand{\thealgorithm}{\arabic{chapter}.\arabic{algorithm}}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\renewcommand{\algorithmicforall}{\textbf{for each}}
% Miscellaneous optional stuff
\newcommand{\ttt}[1]{\texttt{#1}}
\newcommand{\blue}[1]{{\color{blue}#1}}