From 75cd005305bd2c2a0ec383f30ee5b1749ed15183 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 6 Mar 2023 03:05:29 +0000 Subject: CTAN sync 202303060305 --- macros/latex/contrib/mismath/mismath.dtx | 47 ++++++++++++++++++------------- macros/latex/contrib/mismath/mismath.pdf | Bin 269532 -> 269577 bytes 2 files changed, 28 insertions(+), 19 deletions(-) (limited to 'macros/latex/contrib/mismath') diff --git a/macros/latex/contrib/mismath/mismath.dtx b/macros/latex/contrib/mismath/mismath.dtx index 1db0844782..f8224c848f 100644 --- a/macros/latex/contrib/mismath/mismath.dtx +++ b/macros/latex/contrib/mismath/mismath.dtx @@ -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] % %<*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 @@ % % \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,17 +181,25 @@ % - 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@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 % corresponds to \textsf{mismath}~\fileversion, dated \filedate. % Thanks to François Bastouil for help in English translation.}} % \author{Antoine Missier \\ \texttt{antoine.missier@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@operator[lito]{\lito}{o} \mm@macro{mathset}{\mathbf} -\mm@macro{R}{\ensuremath{\mathset{R}}\xspace} -%\mm@macro{C}{\ensuremath{\mathset{C}}\xspace} -\AtBeginDocument{\@ifpackagewith{babel}{russian}{\mm@warning{C} - }{\mm@macro{C}{\ensuremath{\mathset{C}}\xspace}} -} -\mm@macro{N}{\ensuremath{\mathset{N}}\xspace} -\mm@macro{Z}{\ensuremath{\mathset{Z}}\xspace} -\mm@macro{Q}{\ensuremath{\mathset{Q}}\xspace} -\mm@macro{F}{\ensuremath{\mathset{F}}\xspace} -\mm@macro{K}{\ensuremath{\mathset{K}}\xspace} +\mm@macro{R}{\mathset{R}} +\@ifpackagewith{babel}{russian}{ + \PackageWarningNoLine{mismath}{Option russian of babel + is loaded\MessageBreak + Command \bslash C will not be redefined} + }{\mm@macro{C}{\mathset{C}}} +\mm@macro{N}{\mathset{N}} +\mm@macro{Z}{\mathset{Z}} +\mm@macro{Q}{\mathset{Q}} +\mm@macro{F}{\mathset{F}} +\mm@macro{K}{\mathset{K}} \mm@macro{ds}{\displaystyle} \mm@macro{dlim}{\lim\limits} diff --git a/macros/latex/contrib/mismath/mismath.pdf b/macros/latex/contrib/mismath/mismath.pdf index 41b750cf13..2fe670309c 100644 Binary files a/macros/latex/contrib/mismath/mismath.pdf and b/macros/latex/contrib/mismath/mismath.pdf differ -- cgit v1.2.3