Fixed macros usage

This commit is contained in:
saundersp
2024-08-17 16:15:32 +02:00
parent b3f3f43e0a
commit c8b77b2435
7 changed files with 90 additions and 81 deletions

View File

@ -15,6 +15,7 @@
\newcommand{\Q}{\mathbb{Q}} % Rational numbers symbol
\newcommand{\R}{\mathbb{R}} % Real numbers symbol
\newcommand{\C}{\mathbb{C}} % Complex numbers symbol
\newcommand{\Cat}{\mathcal{C}} % Category
\newcommand{\K}{\mathbb{K}} % Corps
\newcommand{\Hq}{\mathbb{H}} % Quaternions numbers symbol
\newcommand{\Ot}{\mathbb{O}} % Octonions numbers symbol
@ -25,25 +26,29 @@
%\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
\newtheorem{definition}{Définition}
%\newtheorem{definition}{Definition}
\newtheorem{theorem}{Théorème}
%\newtheorem{theorem}{Theoreme}
\DeclarePairedDelimiter{\abs}{|}{|}
\DeclarePairedDelimiter{\card}{|}{|}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\fractional}{\{}{\}}
\newtheorem{definition}{\lang{Définition}{Definition}}
\newtheorem{theorem}{\lang{Théorème}{Theoreme}}
\newtheorem{lemme}{Lemme}
%\newtheorem{lemme}{Lemme}
\newcommandx{\suite}[3][1=n,2=n]{$(#3_{#1})_{#2 \in \N}$}
\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{\equivalance}{\Leftrightarrow}
\renewcommand{\implies}{\Rightarrow}
\DeclareMathOperator{\suchas}{\text{tel que}}
%\DeclareMathOperator{\suchas}{\text{such as}}
\newcommand{\equivalence}{\Leftrightarrow}
\renewcommand{\implies}{\Longrightarrow}
\newcommand{\Limplies}{\Longleftarrow}
\newcommand{\impliespart}{\fbox{$\implies$}}
\newcommand{\Limpliespart}{\fbox{$\Limplies$}}
\DeclareMathOperator{\divides}{\mid}
\DeclareMathOperator{\suchas}{\text{\lang{tel que}{such as}}}
\renewcommand{\function}[3]{#1 : #2 \longrightarrow #3}
\newcommand{\functiondef}[2]{\hspace{15pt}#1 \longmapsto #2}
\newcommand{\otherwise}{\text{Sinon}}
%\newcommand{\otherwise}{\text{Otherwise}}
\newcommand{\otherwise}{\text{\lang{Sinon}{Otherwise}}}
\DeclareMathOperator{\union}{\cup}
\renewcommand{\smallskip}{\vspace{3pt}}