From a156fa469363be1d0b84e3da6bcbc475a9cf3940 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Jan 2019 22:25:45 +0000 Subject: frenchmath (16jan19) git-svn-id: svn://tug.org/texlive/trunk@49728 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/frenchmath/frenchmath.sty | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty (limited to 'Master/texmf-dist/tex/latex/frenchmath') diff --git a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty new file mode 100644 index 00000000000..a5620099980 --- /dev/null +++ b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty @@ -0,0 +1,94 @@ +%% +%% This is file `frenchmath.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% frenchmath.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2019 by Antoine Missier +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[2005/12/01] +\ProvidesPackage{frenchmath} + [15/01/2019 v1.0 .dtx frenchmath file] +\RequirePackage{ifthen} +\newboolean{capsit} +\DeclareOption{capsit}{\setboolean{capsit}{true}} +\DeclareOption{capsrm}{\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 + +\newcommand\curs{\mathscr} +\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]} + +\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} % pas d'espace +\newcommand\virgstd{\StandardMathComma} % espace après la virgule + +\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} +} + +\endinput +%% +%% End of file `frenchmath.sty'. -- cgit v1.2.3