texlive[66400] branches/branch2022.final/Master/texmf-dist: mismath

commits+karl at tug.org commits+karl at tug.org
Mon Mar 6 22:41:49 CET 2023


Revision: 66400
          http://tug.org/svn/texlive?view=revision&revision=66400
Author:   karl
Date:     2023-03-06 22:41:49 +0100 (Mon, 06 Mar 2023)
Log Message:
-----------
mismath (6mar23) (branch)

Modified Paths:
--------------
    branches/branch2022.final/Master/texmf-dist/doc/latex/mismath/mismath.pdf
    branches/branch2022.final/Master/texmf-dist/source/latex/mismath/mismath.dtx
    branches/branch2022.final/Master/texmf-dist/tex/latex/mismath/mismath.sty

Modified: branches/branch2022.final/Master/texmf-dist/doc/latex/mismath/mismath.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2022.final/Master/texmf-dist/source/latex/mismath/mismath.dtx
===================================================================
--- branches/branch2022.final/Master/texmf-dist/source/latex/mismath/mismath.dtx	2023-03-06 21:41:32 UTC (rev 66399)
+++ branches/branch2022.final/Master/texmf-dist/source/latex/mismath/mismath.dtx	2023-03-06 21:41:49 UTC (rev 66400)
@@ -20,13 +20,12 @@
 %<*package> 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesPackage{mismath}   
-    [2023/03/01 v2.6 .dtx mismath file]
+    [2023/03/05 v2.7 .dtx mismath file]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
-%\usepackage{textcomp}
 \usepackage[english]{babel}
 \usepackage[charter]{mathdesign} % in case of font change, modify 2.1 (3rd §)
 \usepackage[ibrackets]{mismath}
@@ -36,7 +35,6 @@
 \usepackage{sectsty}
 \usepackage{xcolor}
 \usepackage{spacingtricks}
-\usepackage{centeredline}
 \usepackage{array}
 \usepackage{metalogo} % for logos of XeLaTeX et LuaLaTeX
 
@@ -71,7 +69,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{635}
+% \CheckSum{618}
 %
 % \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
@@ -183,10 +181,18 @@
 %    - small changes in the documentation}
 %
 % \changes{v2.6}{2023/03/01}{
-%    - A bug correction with the \C macro when using babel with russian
+%    - A bug correction in mm at macro
+%    - incompatibility of \C macro solved, when using babel with russian
 %        (thanks to Murray Eisenberg for this bug report on TeX StackExchange)
+%    - mathrm added in macro eqdef* (useful if italicized Greek uppercase Delta)
 %    - Tiny changes in the documentation}
 %
+% \changes{v2.7}{2023/03/05}{
+%    - Macros for sets of numbers (\R, \C,...) now available only in math mode
+%        (following remarks by David Carlisle and Enrico Gregorio)
+%    - special (not generic) warning when loading babel with russian
+%        (\C will not be defined in that case)}
+%
 % \GetFileInfo{mismath.sty}
 %
 % \title{\textsf{mismath}\\ Miscellaneous mathematical macros\thanks{This document
@@ -193,7 +199,7 @@
 % corresponds to \textsf{mismath}~\fileversion, dated \filedate. 
 % Thanks to François Bastouil for help in English translation.}}
 % \author{Antoine Missier \\ \texttt{antoine.missier at ac-toulouse.fr}}
-% \date{March 1, 2023}
+% \date{March 5, 2023}
 %
 % \maketitle
 % \tableofcontents
@@ -331,7 +337,8 @@
 % |\MathNumbers{e,i}| is equivalent to |\MathUp{e}\MathUp{i}|.
 % In |\MathNumbers| the comma separator can be changed or deleted.
 % This macro has no effect on other letters than e, i or j.
-% On the other hand |\MathNormal| can be used for probability also (see section \ref{operators})
+% On the other hand |\MathNormal| can be used for probability also 
+% (see section \ref{operators})
 % and can take any comma separated list argument.
 % 
 % \medskip
@@ -632,7 +639,7 @@
 % and likewise to designate a field: $\F$ or $\K$ (Körper in German).
 % We get these symbols with the macros
 % \footnote{The \texttt{\bslash C} macro is incompatible with \texttt{russian} option
-% of \textsf{babel}; then it will not be defined by \textsf{mismath}.}:
+% of \textsf{babel}; it will not be redefined in that case.}:
 % \begin{center}
 % |\R|, |\C|, |\Z|, |\N|, |\Q|, |\F|, |\K|.
 % \end{center}
@@ -646,7 +653,7 @@
 %
 % \medskip
 % \DescribeMacro{\ds}
-% The |\displaystyle| command being very common, alias |\ds| is provided.
+% The |\displaystyle| command being very common, the |\ds| alias is provided.
 % Not only it eases typing but also  it makes source code more readable.
 %
 % \medskip
@@ -807,6 +814,7 @@
 % \[ \lbar{Z} = \lfrac{\lbar{z_1-z_2}}{\lbar{z_1+z_2}} \]
 % \end{minipage}
 %
+% \medskip
 % \DescribeMacro{[ibrackets]}
 % Open intervals are usually represented with parenthesis, \eg $(0, +\infty)$,
 % but sometimes we find also
@@ -1374,16 +1382,17 @@
 \mm at operator[lito]{\lito}{o}
 
 \mm at macro{mathset}{\mathbf}
-\mm at macro{R}{\ensuremath{\mathset{R}}\xspace} 
-%\mm at macro{C}{\ensuremath{\mathset{C}}\xspace}
-\AtBeginDocument{\@ifpackagewith{babel}{russian}{\mm at warning{C}
-    }{\mm at macro{C}{\ensuremath{\mathset{C}}\xspace}}
-}
-\mm at macro{N}{\ensuremath{\mathset{N}}\xspace}
-\mm at macro{Z}{\ensuremath{\mathset{Z}}\xspace}
-\mm at macro{Q}{\ensuremath{\mathset{Q}}\xspace}
-\mm at macro{F}{\ensuremath{\mathset{F}}\xspace}
-\mm at macro{K}{\ensuremath{\mathset{K}}\xspace}
+\mm at macro{R}{\mathset{R}}
+\@ifpackagewith{babel}{russian}{
+    \PackageWarningNoLine{mismath}{Option russian of babel
+    is loaded\MessageBreak    
+    Command \bslash C will not be redefined}
+    }{\mm at macro{C}{\mathset{C}}}
+\mm at macro{N}{\mathset{N}}
+\mm at macro{Z}{\mathset{Z}}
+\mm at macro{Q}{\mathset{Q}}
+\mm at macro{F}{\mathset{F}}
+\mm at macro{K}{\mathset{K}}
 
 \mm at macro{ds}{\displaystyle}
 \mm at macro{dlim}{\lim\limits}

Modified: branches/branch2022.final/Master/texmf-dist/tex/latex/mismath/mismath.sty
===================================================================
--- branches/branch2022.final/Master/texmf-dist/tex/latex/mismath/mismath.sty	2023-03-06 21:41:32 UTC (rev 66399)
+++ branches/branch2022.final/Master/texmf-dist/tex/latex/mismath/mismath.sty	2023-03-06 21:41:49 UTC (rev 66400)
@@ -22,7 +22,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesPackage{mismath}
-    [2023/03/01 v2.6 .dtx mismath file]
+    [2023/03/05 v2.7 .dtx mismath file]
 \newif\ifmm at ibrackets % initialized to false
 \DeclareOption{ibrackets}{\mm at ibracketstrue}
 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{amsmath}}
@@ -263,15 +263,17 @@
 \mm at operator[lito]{\lito}{o}
 
 \mm at macro{mathset}{\mathbf}
-\mm at macro{R}{\ensuremath{\mathset{R}}\xspace}
-\AtBeginDocument{\@ifpackagewith{babel}{russian}{\mm at warning{C}
-    }{\mm at macro{C}{\ensuremath{\mathset{C}}\xspace}}
-}
-\mm at macro{N}{\ensuremath{\mathset{N}}\xspace}
-\mm at macro{Z}{\ensuremath{\mathset{Z}}\xspace}
-\mm at macro{Q}{\ensuremath{\mathset{Q}}\xspace}
-\mm at macro{F}{\ensuremath{\mathset{F}}\xspace}
-\mm at macro{K}{\ensuremath{\mathset{K}}\xspace}
+\mm at macro{R}{\mathset{R}}
+\@ifpackagewith{babel}{russian}{
+    \PackageWarningNoLine{mismath}{Option russian of babel
+    is loaded\MessageBreak
+    Command \bslash C will not be redefined}
+    }{\mm at macro{C}{\mathset{C}}}
+\mm at macro{N}{\mathset{N}}
+\mm at macro{Z}{\mathset{Z}}
+\mm at macro{Q}{\mathset{Q}}
+\mm at macro{F}{\mathset{F}}
+\mm at macro{K}{\mathset{K}}
 
 \mm at macro{ds}{\displaystyle}
 \mm at macro{dlim}{\lim\limits}



More information about the tex-live-commits mailing list.