summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty73
1 files changed, 36 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
index eb8f9d24a9c..c93bd7ef69a 100644
--- a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
+++ b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{frenchmath}
- [27/04/2019 v1.2 .dtx frenchmath file]
+ [2019/05/15 v1.3 .dtx frenchmath file]
\RequirePackage{ifthen}
\newboolean{capsit}
\DeclareOption{capsit}{\setboolean{capsit}{true}}
@@ -33,44 +33,9 @@
\RequirePackage{amssymb} % fournit \leqslant, \geqslant et \varnothing
\RequirePackage{amsopn} % fournit \DeclareMathOperator
\RequirePackage{xspace} % utile pour les commandes \curs, \ssi, \Oij
-
-\newcommand*\curs[1]{\ensuremath{\mathscr{#1}}\xspace}
-\newcommand\infeg{\leqslant}
-\newcommand\supeg{\geqslant}
-\newcommand\vide{\varnothing}
-\newcommand{\paral}{\mathrel{/\!\!/}} % \parallel existe déjà : ||
-\newcommand\ssi{si, et seulement si,\xspace}
-\newcommand*{\cmod}[1]{\quad[#1]}
-\newcommand{\Oij}{\ensuremath{
- \left(O, \vec{\imath}, \vec{\jmath}\,\right)
- }\xspace
-}
-\newcommand{\Oijk}{\ensuremath{
- \left(O, \vec{\vphantom{t}\imath}, \vec{\vphantom{t}\jmath},
- \vec{\vphantom{t}\smash{k}}\,\right)
- }\xspace
-}
-\newcommand{\Ouv}{\ensuremath{
- \left(O, \vec{u}, \vec{v}\,\right)}\xspace
-}
-
-\DeclareMathOperator{\pgcd}{pgcd}
-\DeclareMathOperator{\ppcm}{ppcm}
-\DeclareMathOperator{\card}{card}
-\DeclareMathOperator{\Card}{Card}
-\DeclareMathOperator{\Ker}{Ker}
-\DeclareMathOperator{\Hom}{Hom}
-\DeclareMathOperator{\rg}{rg}
-\DeclareMathOperator{\Vect}{\Vect}
-\DeclareMathOperator{\ch}{ch}
-\DeclareMathOperator{\sh}{sh}
-\DeclareMathOperator{\tgh}{th}
-
-\newcommand\virgdec{\DecimalMathComma}
-\newcommand\virgstd{\StandardMathComma}
+\RequirePackage{icomma} % virgule intelligente
\DeclareSymbolFont{up}{\encodingdefault}{\familydefault}{m}{n}
-\DeclareMathSymbol{;}\mathbin{up}{059} % \mathpunct à l'origine
\ifthenelse{\boolean{capsit}}{}{\AtBeginDocument{
\DeclareMathSymbol{A}\mathalpha{up}{`A} %'A codage octal du A
\DeclareMathSymbol{B}\mathalpha{up}{`B}
@@ -99,6 +64,40 @@
\DeclareMathSymbol{Y}\mathalpha{up}{`Y}
\DeclareMathSymbol{Z}\mathalpha{up}{`Z}
}}
+\AtBeginDocument{\@ifpackageloaded{pstricks-add}{\psset{comma=true}}{}}
+\DeclareMathSymbol{;}\mathbin{up}{059} % \mathpunct à l'origine
+
+\newcommand*\curs[1]{\ensuremath{\mathscr{#1}}\xspace}
+\newcommand\infeg{\leqslant}
+\newcommand\supeg{\geqslant}
+\newcommand\vide{\varnothing}
+\newcommand\paral{\mathrel{/\!\!/}} % \parallel existe déjà : ||
+\newcommand\ssi{si, et seulement si,\xspace}
+\newcommand*\cmod[1]{\quad[#1]}
+\newcommand\Oij{\ensuremath{
+ \left(O, \vec{\imath}, \vec{\jmath}\,\right)
+ }\xspace
+}
+\newcommand\Oijk{\ensuremath{
+ \left(O, \vec{\vphantom{t}\imath}, \vec{\vphantom{t}\jmath},
+ \vec{\vphantom{t}\smash{k}}\,\right)
+ }\xspace
+}
+\newcommand\Ouv{\ensuremath{
+ \left(O, \vec{u}, \vec{v}\,\right)}\xspace
+}
+
+\DeclareMathOperator{\pgcd}{pgcd}
+\DeclareMathOperator{\ppcm}{ppcm}
+\DeclareMathOperator{\card}{card}
+\DeclareMathOperator{\Card}{Card}
+\DeclareMathOperator{\Ker}{Ker}
+\DeclareMathOperator{\Hom}{Hom}
+\DeclareMathOperator{\rg}{rg}
+\DeclareMathOperator{\Vect}{\Vect}
+\DeclareMathOperator{\ch}{ch}
+\DeclareMathOperator{\sh}{sh}
+\DeclareMathOperator{\tgh}{th} %\th existe déjà
\endinput
%%