summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-02 22:27:19 +0000
committerKarl Berry <karl@freefriends.org>2019-05-02 22:27:19 +0000
commit277946b9dea336c373d95806e4993a27e1766661 (patch)
treeddf87a38f452e3db782a1d9fc532d2ce6ae537f8 /Master/texmf-dist/tex/latex
parentaa6c191808fff29b78294058a01ad12014eca833 (diff)
frenchmath (28apr19)
git-svn-id: svn://tug.org/texlive/trunk@50928 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty87
1 files changed, 49 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
index a5620099980..eb8f9d24a9c 100644
--- a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
+++ b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2019 by Antoine Missier <prenom.nom@ac-toulouse.fr>
+%% Copyright (C) 2019 by Antoine Missier <antoine.missier@ac-toulouse.fr>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,25 +22,37 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{frenchmath}
- [15/01/2019 v1.0 .dtx frenchmath file]
+ [27/04/2019 v1.2 .dtx frenchmath file]
\RequirePackage{ifthen}
\newboolean{capsit}
\DeclareOption{capsit}{\setboolean{capsit}{true}}
-\DeclareOption{capsrm}{\setboolean{capsit}{false}} % valeur par défaut
+\DeclareOption{capsup}{\setboolean{capsit}{false}} % valeur par défaut
\ProcessOptions \relax
\RequirePackage{mathrsfs} % fournit les majuscules cursives
\RequirePackage{amssymb} % fournit \leqslant, \geqslant et \varnothing
\RequirePackage{amsopn} % fournit \DeclareMathOperator
-\RequirePackage{xspace} % utile pour la commande \ssi
+\RequirePackage{xspace} % utile pour les commandes \curs, \ssi, \Oij
-\newcommand\curs{\mathscr}
+\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}
@@ -54,40 +66,39 @@
\DeclareMathOperator{\sh}{sh}
\DeclareMathOperator{\tgh}{th}
-\newcommand\virgdec{\DecimalMathComma} % pas d'espace
-\newcommand\virgstd{\StandardMathComma} % espace après la virgule
+\newcommand\virgdec{\DecimalMathComma}
+\newcommand\virgstd{\StandardMathComma}
-\DeclareSymbolFont{Roman}{\encodingdefault}{\familydefault}{m}{n}
-\DeclareMathSymbol{;}\mathbin{Roman}{059} % \mathpunct à l'origine
-
-\ifthenelse{\boolean{capsit}}{}{%
-\DeclareMathSymbol{A}\mathalpha{Roman}{`A} %'A codage octal du A dans Roman
-\DeclareMathSymbol{B}\mathalpha{Roman}{`B}
-\DeclareMathSymbol{C}\mathalpha{Roman}{`C}
-\DeclareMathSymbol{D}\mathalpha{Roman}{`D}
-\DeclareMathSymbol{E}\mathalpha{Roman}{`E}
-\DeclareMathSymbol{F}\mathalpha{Roman}{`F}
-\DeclareMathSymbol{G}\mathalpha{Roman}{`G}
-\DeclareMathSymbol{H}\mathalpha{Roman}{`H}
-\DeclareMathSymbol{I}\mathalpha{Roman}{`I}
-\DeclareMathSymbol{J}\mathalpha{Roman}{`J}
-\DeclareMathSymbol{K}\mathalpha{Roman}{`K}
-\DeclareMathSymbol{L}\mathalpha{Roman}{`L}
-\DeclareMathSymbol{M}\mathalpha{Roman}{`M}
-\DeclareMathSymbol{N}\mathalpha{Roman}{`N}
-\DeclareMathSymbol{O}\mathalpha{Roman}{`O}
-\DeclareMathSymbol{P}\mathalpha{Roman}{`P}
-\DeclareMathSymbol{Q}\mathalpha{Roman}{`Q}
-\DeclareMathSymbol{R}\mathalpha{Roman}{`R}
-\DeclareMathSymbol{S}\mathalpha{Roman}{`S}
-\DeclareMathSymbol{T}\mathalpha{Roman}{`T}
-\DeclareMathSymbol{U}\mathalpha{Roman}{`U}
-\DeclareMathSymbol{V}\mathalpha{Roman}{`V}
-\DeclareMathSymbol{W}\mathalpha{Roman}{`W}
-\DeclareMathSymbol{X}\mathalpha{Roman}{`X}
-\DeclareMathSymbol{Y}\mathalpha{Roman}{`Y}
-\DeclareMathSymbol{Z}\mathalpha{Roman}{`Z}
-}
+\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}
+ \DeclareMathSymbol{C}\mathalpha{up}{`C}
+ \DeclareMathSymbol{D}\mathalpha{up}{`D}
+ \DeclareMathSymbol{E}\mathalpha{up}{`E}
+ \DeclareMathSymbol{F}\mathalpha{up}{`F}
+ \DeclareMathSymbol{G}\mathalpha{up}{`G}
+ \DeclareMathSymbol{H}\mathalpha{up}{`H}
+ \DeclareMathSymbol{I}\mathalpha{up}{`I}
+ \DeclareMathSymbol{J}\mathalpha{up}{`J}
+ \DeclareMathSymbol{K}\mathalpha{up}{`K}
+ \DeclareMathSymbol{L}\mathalpha{up}{`L}
+ \DeclareMathSymbol{M}\mathalpha{up}{`M}
+ \DeclareMathSymbol{N}\mathalpha{up}{`N}
+ \DeclareMathSymbol{O}\mathalpha{up}{`O}
+ \DeclareMathSymbol{P}\mathalpha{up}{`P}
+ \DeclareMathSymbol{Q}\mathalpha{up}{`Q}
+ \DeclareMathSymbol{R}\mathalpha{up}{`R}
+ \DeclareMathSymbol{S}\mathalpha{up}{`S}
+ \DeclareMathSymbol{T}\mathalpha{up}{`T}
+ \DeclareMathSymbol{U}\mathalpha{up}{`U}
+ \DeclareMathSymbol{V}\mathalpha{up}{`V}
+ \DeclareMathSymbol{W}\mathalpha{up}{`W}
+ \DeclareMathSymbol{X}\mathalpha{up}{`X}
+ \DeclareMathSymbol{Y}\mathalpha{up}{`Y}
+ \DeclareMathSymbol{Z}\mathalpha{up}{`Z}
+}}
\endinput
%%