forked from mizabrik/acos-notes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmymath.sty
More file actions
40 lines (28 loc) · 986 Bytes
/
mymath.sty
File metadata and controls
40 lines (28 loc) · 986 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\ProvidesPackage{mymath}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{MnSymbol}
\usepackage{xifthen}
% ---- Quantifiers ----
\newcommand{\Forall}[1]{\ensuremath{\forall #1 \:}}
\newcommand{\Exists}[1]{\ensuremath{\exists #1 \colon \:}}
% ---- Number sets ----
\newcommand{\Natural}{\mathbb{N}}
\newcommand{\Integers}{\mathbb{Z}}
\newcommand{\Rational}{\mathbb{Q}}
\newcommand{\Real}{\mathbb{R}}
\newcommand{\To}{\Rightarrow}
% ---- Order of element in group ----
\DeclareMathOperator{\ord}{ord}
% ---- Field characteristic ----
\DeclareMathOperator{\fchar}{char}
% ---- Matrices set on filed #1 with #2 rows and #3 columns ----
\newcommand{\Matrices}[3][]{M_{#2 \times #3}\ifthenelse{\isempty{#1}}{}{(#1)}}
% ---- Matrix rank ----
\DeclareMathOperator{\rk}{rk}
% ---- Linear map kernel and image ----
\DeclareMathOperator{\Ker}{Ker}
\DeclareMathOperator{\Img}{Im}
% ---- Sign operator ----
\DeclareMathOperator{\sgn}{sgn}
\renewcommand\qedsymbol{$\blacksquare$}