forked from wannesm/adsphd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefs.tex
More file actions
24 lines (22 loc) · 919 Bytes
/
defs.tex
File metadata and controls
24 lines (22 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Some useful packages
\usepackage{amssymb,amsthm}
\usepackage{amsmath}
% useful: TODO notes
\usepackage{todonotes}
%fix placement of todo notes (see todonotes manual)
\setlength{\marginparwidth}{(\stockwidth-\columnwidth)/2-.35cm}
% Some nice colors
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\cyan}[1]{\textcolor{cyan}{#1}}
\newcommand{\magenta}[1]{\textcolor{magenta}{#1}}
\newcommand{\yellow}[1]{\textcolor{yellow}{#1}}
\newcommand{\orange}[1]{\textcolor{orange}{#1}}
\newcommand{\violet}[1]{\textcolor{violet}{#1}}
\newcommand{\purple}[1]{\textcolor{purple}{#1}}
\newcommand{\brown}[1]{\textcolor{brown}{#1}}
\newcommand{\gray}[1]{\textcolor{gray}{#1}}
\newcommand{\darkgray}[1]{\textcolor{darkgray}{#1}}
\newcommand{\lightgray}[1]{\textcolor{lightgray}{#1}}
\newcommand{\bred}[1]{\textbf{\textcolor{red}{#1}}}