diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-06 21:41:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-06 21:41:49 +0000 |
commit | c6b32253a4d3fdd013af2930867bbc552fbb7428 (patch) | |
tree | 97e143f95d7f4edf96c781098b9c7a991c57eb6c /Master/texmf-dist/source | |
parent | f4c598c773deab1013d70078de58793dcf125948 (diff) |
mismath (6mar23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66400 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/mismath/mismath.dtx | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/Master/texmf-dist/source/latex/mismath/mismath.dtx b/Master/texmf-dist/source/latex/mismath/mismath.dtx index 1db0844782b..f8224c848fc 100644 --- a/Master/texmf-dist/source/latex/mismath/mismath.dtx +++ b/Master/texmf-dist/source/latex/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] %</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,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} |