-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.sty
More file actions
55 lines (48 loc) · 2.02 KB
/
basic.sty
File metadata and controls
55 lines (48 loc) · 2.02 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
\usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX)
%%% Examples of Article customizations
% These packages are optional, depending whether you want the features they provide.
% See the LaTeX Companion or other references for full information.
%%% PAGE DIMENSIONS
\usepackage{geometry} % to change the page dimensions
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\geometry{margin=1in} % for example, change the margins to 2 inches all round
% \geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
\usepackage{graphicx} % support the \includegraphics command and options
% \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
%%% PACKAGES
\usepackage{booktabs} % for much better looking tables
\usepackage{array} % for better arrays (eg matrices) in maths
\usepackage{paralist} % very flexible & customisable lists (eg. enumerate/itemize, etc.)
\usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
\usepackage{subcaption}
\usepackage{amsmath}
\usepackage{bbm}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{algorithm}
% \usepackage{algorithmic}
\usepackage{url}
% \usepackage{cite}
\usepackage[noend]{algpseudocode}
\usepackage{color}
\usepackage{bm}
\usepackage{framed}
\usepackage{natbib} % omit 'round' option if you prefer square brackets
\setcitestyle{numbers,square}
% \bibliographystyle{plainnat}
\usepackage{subcaption}
\usepackage{listings}
\usepackage{paralist}
\usepackage{multirow}
% These packages are all incorporated in the memoir class to one degree or another...
% making lists tighter
% Remove list margins
\usepackage{enumitem}
\usepackage{courier}
\usepackage{xspace}
\setlist[itemize,enumerate]{leftmargin=*}
% making lists tighter
\usepackage{mdwlist}
% \setlength{\textfloatsep}{0.05cm} ===> uncomment this line to remove image and table bottom margin
% \addtolength{\parskip}{-0.5mm} ===> uncomment this line to decrease list item spacing