diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-26 20:42:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-26 20:42:43 +0000 |
commit | de344b41eaef699806b32d6be046e3442dbbcfa2 (patch) | |
tree | 2564a6547435dadcb9377350201a1d4bf116cb31 /Master/texmf-dist/tex | |
parent | d9d6854d83ca5e8d458957ab1c50b133ea2ff2e7 (diff) |
mismath (26dec22)
git-svn-id: svn://tug.org/texlive/trunk@65365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/mismath/mismath.sty | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/mismath/mismath.sty b/Master/texmf-dist/tex/latex/mismath/mismath.sty index d399666a1d9..b9dcbaf7e5c 100644 --- a/Master/texmf-dist/tex/latex/mismath/mismath.sty +++ b/Master/texmf-dist/tex/latex/mismath/mismath.sty @@ -22,8 +22,8 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{mismath} - [2022/11/11 v2.0 .dtx mismath file] -%% \CheckSum{440} + [2022/12/26 v2.1 .dtx mismath file] +%% \CheckSum{454} \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{amsmath}} \ProcessOptions \relax \@ifpackageloaded{amsmath}{}{\RequirePackage{amsmath}} @@ -31,7 +31,10 @@ \RequirePackage{ifthen} \RequirePackage{xspace} \RequirePackage{mathtools} +\RequirePackage{ibrackets} + {\catcode`\|=\z@ \catcode`\\=12 |gdef|bslash{\}} % \bslash command + \newcommand\@mwarning[1]{ \PackageWarningNoLine{mismath}{ Command \bslash #1 already exist and will not be redefined} @@ -76,7 +79,7 @@ \PackageWarningNoLine{mismath}{ \bslash pinumber command has changed since v2.0, \MessageBreak - option #1 must be a command name \MessageBreak + option #1 must be a valid command name \MessageBreak (look at the documentation), but command \bslash #1 is undefined, \MessageBreak I cannot use it for replacement to \bslash pi. @@ -97,8 +100,8 @@ \newcommand*{\hvec}[1]{\vec{\vphantom{t}#1}} \newcommand*{\@norm}[1]{ - \mbox{\raisebox{1.75pt}{$\bigl\Vert$}} #1 - \mbox{\raisebox{1.75pt}{$\bigr\Vert$}} } + \mbox{\raisebox{1.75pt}{\small$\bigl\Vert$}} #1 + \mbox{\raisebox{1.75pt}{\small$\bigr\Vert$}} } \newcommand*{\@@norm}[1]{ \mbox{\footnotesize\raisebox{1pt}{$\Vert$}} #1 \mbox{\footnotesize\raisebox{1pt}{$\Vert$}} } @@ -125,6 +128,7 @@ \@moperator{\adj}{adj} \@moperator{\Aut}{Aut} +\@moperator{\codim}{codim} \@moperator{\Conv}{Conv} \@moperator{\cov}{cov} \@moperator{\Cov}{Cov} @@ -145,8 +149,10 @@ \let\oldRe\Re \renewcommand{\Re}{\operatorname{Re}} \@mmacro{rot}{\operatorname{\vect{\mathup{rot}}}} \@moperator{\sgn}{sgn} +\@moperator{\sinc}{sinc} \@moperator[spa]{\spa}{span} \@moperator{\tr}{tr} +\@moperator{\var}{var} \@moperator{\Var}{Var} \@moperator[Zu]{\Zu}{Z} @@ -184,7 +190,9 @@ \@ifundefined{hlbar}{ \providecommand*{\hlbar}[1]{\overline{\vphantom{t}#1}}}{ \@mwarning{hlbar} } -\@mmacro{eqdef}{\stackrel{\mathup{def}}{=}} +\newcommand\@eqdef{\stackrel{\mathup{def}}{=}} +\newcommand\@@eqdef{\stackrel{\Delta}{=}} +\@mmacro{eqdef}{\@ifstar{\@@eqdef}{\@eqdef}} \@mmacro{unbr}{\underbrace} \@mmacro{iif}{if and only if\xspace} @@ -193,8 +201,8 @@ \providecommand*{\txt}[1]{\quad\text{#1}\quad} }{ \@mwarning{txt} } \@mmacro{mul}{\mathord{\times}} -\PackageWarningNoLine{mismath}{Command \bslash paren - is no longer supported} +\providecommand\paren{\PackageWarning{mismath}{Command + \bslash paren is no longer supported}} \@ifundefined{pow}{ \providecommand*{\pow}[2]{\left( #1 \right)^{\!#2}} }{ \@mwarning{pow} } @@ -204,8 +212,6 @@ \@ifundefined{lfrac}{ \providecommand*{\lfrac}[2]{\frac{\;#1\;}{\;#2\;}} }{ \@mwarning{lfrac} } -\DeclareMathSymbol{]}\mathord{operators}{093} % originally \mathclose -\DeclareMathSymbol{[}\mathord{operators}{091} % originally \mathopen \newcommand{\systemstretch}{1.2} \newcommand{\systemsep}{\medspace} |