summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/frenchmath/frenchmath.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/frenchmath/frenchmath.dtx')
-rw-r--r--macros/latex/contrib/frenchmath/frenchmath.dtx17
1 files changed, 11 insertions, 6 deletions
diff --git a/macros/latex/contrib/frenchmath/frenchmath.dtx b/macros/latex/contrib/frenchmath/frenchmath.dtx
index 6af5bc2038..4b042e9ef6 100644
--- a/macros/latex/contrib/frenchmath/frenchmath.dtx
+++ b/macros/latex/contrib/frenchmath/frenchmath.dtx
@@ -20,7 +20,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{frenchmath}
- [2024/05/04 v3.0 .dtx Typesetting mathematics according to French rules]
+ [2024/05/07 v3.1 .dtx Typesetting mathematics according to French rules]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -65,7 +65,7 @@
%</driver>
% \fi
%
-% \CheckSum{320}
+% \CheckSum{322}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -192,12 +192,15 @@
% - Développement et intégration de l'extension mathgreeks
% - Mise à jour de la documentation}
%
+% \changes{v3.1}{07/05/2024}{
+% - Correction de bug pour les macros varnothing et AMSvarnothing}
+%
% \GetFileInfo{frenchmath.sty}
%
% \title{L'extension \textsf{frenchmath}\thanks{Ce document
-% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 04/05/2024.}}
+% correspond à \textsf{frenchmath}~\fileversion, dernière modification le 07/05/2024.}}
% \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}}
-% \date{4 mai 2024}
+% \date{7 mai 2024}
% \maketitle
% \tableofcontents
%
@@ -616,6 +619,7 @@
% $\phi$.
% }
% qui se marie particulièrement bien avec la police usuelle Latin Modern.
+% Ainsi les options précédentes de \textsf{frenchmath} fonctionnent toujours.
%
% Les commandes |\alpha|, |\beta|, \ldots |\pi|, etc.
% produisent alors les lettres en forme droite $\alpha$, $\beta$, \ldots, $\pi$, etc.
@@ -851,8 +855,9 @@
they will not be redefined}
}
\@ifundefined{varnothing}{% de amssymb
+ \@ifundefined{text}{\RequirePackage{amstext}}{}
\newcommand\varnothing{% \usefont évite de déclarer AMSb
- \mathord{\text{\usefont{U}{AMSb}{m}{n}\symbol{"3F}}}}
+ \mathord{\text{\usefont{U}{msb}{m}{n}\symbol{"3F}}}}
}{
\PackageWarningNoLine{frenchmath}{\string\varnothing\space
already defined,
@@ -881,7 +886,7 @@
\newcommand\AMSvarnothing{% doit être appelé après \setmathfont ?
\AtEndPreamble{\AtBeginDocument{% après actions de unicode-math
\renewcommand\varnothing{%
- \mathord{\text{\usefont{U}{AMSb}{m}{n}\symbol{"3F}}}}
+ \mathord{\text{\usefont{U}{msb}{m}{n}\symbol{"3F}}}}
}}
}
% \end{macrocode}