summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-16 21:03:55 +0000
committerKarl Berry <karl@freefriends.org>2019-05-16 21:03:55 +0000
commit16601821d2505d574a327464554b1c68a06f6d6f (patch)
treefc58f61d6a657a6454d2e4907c8a39dd0db822d9 /Master/texmf-dist/tex
parent261a3a21fd2a449577779b1e19d94aa136b48261 (diff)
frenchmath (16may19)
git-svn-id: svn://tug.org/texlive/trunk@51144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-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
%%