-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMathHeader.tex
54 lines (50 loc) · 2.05 KB
/
MathHeader.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
% Format inherited from <MA1101R Cheatsheet 17/18 Sem 1 Finals>
% Original document is by Lee Yiyuan and Eugene Lim
% -------------------------------------------------------------
\usepackage{amssymb,amsmath,amsthm,amsfonts,bm,xcolor,enumitem,graphicx,overpic}
\usepackage{listings}
\usepackage{IEEEtrantools}
\usepackage{physics}
\usepackage{multicol,multirow}
\usepackage{calc}
\usepackage{ifthen}
\usepackage{ragged2e}
\usepackage[colorlinks=true,citecolor=blue,linkcolor=blue]{hyperref}
\geometry{top=.2in,left=.2in,right=.2in,bottom=.2in,a4paper}
\pagestyle{empty}
\makeatletter
\renewcommand{\section}{\@startsection{section}{1}{0mm}%
{-1ex plus -.5ex minus -.2ex}%
{0.5ex plus .2ex}%x
{\normalfont\large\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}%
{-1explus -.5ex minus -.2ex}%
{0.5ex plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}%
{-1ex plus -.5ex minus -.2ex}%
{1ex plus .2ex}%
{\normalfont\small\bfseries}}
\renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%
\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{#1}}
\makeatother
\setcounter{secnumdepth}{0}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0pt plus 0.5ex}
\newcommand{\matr}[1]{\bm{#1}}
\newcommand{\vect}[1]{\bm{#1}}
\newcommand{\adj}{\operatorname{\textbf{adj}}}
\newcommand{\lspan}{\operatorname{span}}
%\newcommand{\rank}{\operatorname{rank}}
\newcommand{\nullity}{\operatorname{nullity}}
\newcommand{\Ker}{\operatorname{Ker}}
%\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\DeclareMathOperator{\rref}{rref}
\theoremstyle{definition}
\newcommand{\thistheoremname}{}
\newtheorem*{genericthm*}{\thistheoremname}
\newenvironment{namedthm*}[1]
{\renewcommand{\thistheoremname}{#1}\begin{genericthm*}}
{\end{genericthm*}}