diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-15 20:51:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-15 20:51:38 +0000 |
commit | 6286c11cc5945e88a318a9285b83baea3619977f (patch) | |
tree | 854bacb83877d6014da2b7f672b683388c514520 /Master/texmf-dist/tex/latex/frenchmath | |
parent | fd2887d90384aca2f1073d66c1a73614cd137d87 (diff) |
frenchmath (15nov22)
git-svn-id: svn://tug.org/texlive/trunk@65020 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/frenchmath')
-rw-r--r-- | Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty b/Master/texmf-dist/tex/latex/frenchmath/frenchmath.sty index b2c36c3c17e..6d7b1d00a49 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} - [2022/11/11 v2.1 .dtx frenchmath file] + [2022/11/15 v2.2 .dtx frenchmath file] \RequirePackage{ifthen} \newboolean{capsit} \DeclareOption{capsit}{\setboolean{capsit}{true}} @@ -35,8 +35,8 @@ \AtBeginDocument{ \@ifpackageloaded{mathdesign}{ - \PackageWarningNoLine{frenchmath}{Package mathdesign is loaded, - \MessageBreak + \PackageWarningNoLine{frenchmath}{Package mathdesign + is loaded, \MessageBreak I don't load mathrsfs and amssymb packages} }{ \RequirePackage{mathrsfs} % fournit les majuscules cursives @@ -54,6 +54,7 @@ \addto\extrasfrench{\mathcode`\,="8000\relax} }{} } + \ifthenelse{\boolean{capsit}}{}{ \AtBeginDocument{ \DeclareMathSymbol{A}\mathalpha{operators}{`A} @@ -106,8 +107,8 @@ \@ifundefined{itnu}{\let\itnu\nu}{} \@ifundefined{itxi}{\let\itxi\xi}{} \@ifundefined{itpi}{\let\itpi\pi}{ - \PackageWarningNoLine{frenchmath}{Italicized Greek \bslash itpi - already exist \MessageBreak + \PackageWarningNoLine{frenchmath}{Italicized Greek + \bslash itpi already exist \MessageBreak and will not be redefined} } \@ifundefined{itrho}{\let\itrho\rho}{} @@ -180,9 +181,9 @@ \newcommand\infeg{\leqslant} \newcommand\supeg{\geqslant} \newcommand\vide{\varnothing} -\newcommand\@@paral{\mathrel{/\!\!/}} -\newcommand\@paral{\mathrel{/\!/}} % version étoilée avec moins d'espace -\newcommand\paral{\@ifstar{\@paral}{\@@paral}} +\newcommand\paral{\mathrel{\ooalign{$\mkern-1.75mu/\mkern1.75mu$\cr% + $\mkern1.75mu/\mkern-1.75mu$}} +} \newcommand\ssi{si, et seulement si,\xspace} \newcommand*\cmod[1]{\quad[#1]} @@ -196,14 +197,13 @@ \DeclareMathOperator{\Vect}{\Vect} \DeclareMathOperator{\ch}{ch} \DeclareMathOperator{\sh}{sh} -\AtBeginDocument{\let\oldth\th %\th existe déjà (mode texte uniquement) +\AtBeginDocument{\let\oldth\th %\th existe déjà (mode texte) \renewcommand\th{\TextOrMath{\oldth}{\operatorname{th}}}} -{\catcode`\|=\z@ \catcode`\\=12 |gdef|bslash{\}} % la commande \bslash -\PackageWarningNoLine{frenchmath}{ - Command \bslash tgh in now obsolete, \MessageBreak +{\catcode`\|=\z@ \catcode`\\=12 |gdef|bslash{\}} % commande \bslash +\PackageWarningNoLine{frenchmath}{Command \bslash tgh in now obsolete, + \MessageBreak use \bslash th instead} - \newcommand\@Oij{% \ensuremath{\left(O, \vec{\imath}, \vec{\jmath}\,\right)}\xspace} \newcommand\@@Oij{% |