-
Notifications
You must be signed in to change notification settings - Fork 0
/
needed.sty
36 lines (34 loc) · 1.08 KB
/
needed.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
\ProvidesPackage{needed}
\usepackage[a4paper, margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{empheq}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage{sectsty}
\usepackage{linegoal}
\usepackage{wrapfig}
\usepackage{siunitx}
\definecolor{c1}{gray}{0.9}
\definecolor{g2}{gray}{0.4}
\definecolor{c2}{RGB}{230, 240, 255}
\definecolor{c3}{RGB}{80, 90, 140}
\chapterfont{\color{c3}}
\sectionfont{\color{g2}}
\newcommand{\test}[1]{\textit{TEST#1}}
\newcommand{\ihat}{\hat{\imath}}
\newcommand{\jhat}{\hat{\jmath}}
\newcommand{\khat}{\hat{k}}
\newcommand{\prm}[1]{#1^\prime}
\newcommand{\coloredeq}[2]{\begin{empheq}[box=\colorbox{c2}]{align}\label{#1}#2\end{empheq}}
\newcommand{\coloredpar}[1]{\colorbox{c2}{\parbox[c]{0.9\linegoal}{#1}}}
\newcommand{\starpar}{\paragraph{\color{c3}$\bigstar$}}
\newcommand{\bulletpar}{\paragraph{\color{c3}$\bullet$}}
\newcommand{\ic}[1]{\textit{#1}}
\newcommand{\bd}[1]{\textbf{#1}}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\tr}{Tr}
% \numberwithin{equation}{section}
% \pagecolor{black}
% \color{white}