packages/macros.sty : Added convinences macros
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
\newcommand{\R}{\mathbb{R}} % Real numbers symbol
|
||||
\newcommand{\C}{\mathbb{C}} % Complex numbers symbol
|
||||
\newcommand{\Cat}{\mathcal{C}} % Category
|
||||
\newcommand{\Set}{\mathbf{Set}} % Set category
|
||||
\newcommand{\K}{\mathbb{K}} % Corps
|
||||
\newcommand{\Hq}{\mathbb{H}} % Quaternions numbers symbol
|
||||
\newcommand{\Ot}{\mathbb{O}} % Octonions numbers symbol
|
||||
@ -24,6 +25,7 @@
|
||||
\newcommand{\false}{F} % New symbol for false value
|
||||
\newcommand{\true}{V} % New symbol for true value
|
||||
\DeclareMathOperator{\Rel}{\mathcal{R}} % New symbol for binary relations
|
||||
\DeclareMathOperator{\composes}{\circ} % New symbol composing morphisms
|
||||
\DeclarePairedDelimiter{\abs}{|}{|}
|
||||
\DeclarePairedDelimiter{\card}{|}{|}
|
||||
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
|
||||
@ -33,10 +35,14 @@
|
||||
\newtheorem{theorem}{\lang{Théorème}{Theoreme}}
|
||||
\newtheorem{lemme}{Lemme}
|
||||
\newcommandx{\suite}[3][1=n,2=n]{$(#3_{#1})_{#2 \in \N}$}
|
||||
\newcommand{\innerproduct}[2]{\langle #1, #2 \rangle}
|
||||
\newenvironment{definition_sq}{\begin{mdframed}\begin{definition}}{\end{definition}\end{mdframed}}
|
||||
\newenvironment{theorem_sq}{\begin{mdframed}\begin{theorem}}{\end{theorem}\end{mdframed}}
|
||||
\newenvironment{lemme_sq}{\begin{mdframed}\begin{lemme}}{\end{lemme}\end{mdframed}}
|
||||
\newcommand{\norm}[1]{\|#1\|}
|
||||
\newcommand{\norm}[1]{\lVert#1\rVert}
|
||||
\newcommand{\Norm}[1]{\lVert #1\rVert}
|
||||
\newcommand{\powerset}[1]{\mathcal{P}(#1)} % Power set
|
||||
\newcommand{\converges}{\rightarrow}
|
||||
\newcommand{\equivalence}{\Leftrightarrow}
|
||||
\renewcommand{\implies}{\Longrightarrow}
|
||||
\newcommand{\Limplies}{\Longleftarrow}
|
||||
@ -44,10 +50,16 @@
|
||||
\newcommand{\Limpliespart}{\fbox{$\Limplies$}}
|
||||
\DeclareMathOperator{\divides}{\mid}
|
||||
\DeclareMathOperator{\suchas}{\text{\lang{tel que}{such as}}}
|
||||
\renewcommand{\function}[3]{#1 : #2 \longrightarrow #3}
|
||||
\renewcommand{\function}[3]{#1 \colon #2 \longrightarrow #3}
|
||||
\newcommand{\functiondef}[2]{\hspace{15pt}#1 \longmapsto #2}
|
||||
\newcommand{\otherwise}{\text{\lang{Sinon}{Otherwise}}}
|
||||
\DeclareMathOperator{\union}{\cup}
|
||||
\DeclareMathOperator{\Union}{\bigcup}
|
||||
\DeclareMathOperator{\intersection}{\cap}
|
||||
\DeclareMathOperator{\Intersection}{\bigcap}
|
||||
\DeclareMathOperator{\cartesianProduct}{\times}
|
||||
\DeclareMathOperator{\CartesianProduct}{\bigtimes}
|
||||
\newcommand{\discreteInterval}[1]{[\![#1]\!]}
|
||||
|
||||
\renewcommand{\smallskip}{\vspace{3pt}}
|
||||
\renewcommand{\medskip}{\vspace{6pt}}
|
||||
|
Reference in New Issue
Block a user