diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/mathtools/empheq.pdf | bin | 330511 -> 330685 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mathtools/mathtools.pdf | bin | 503979 -> 506537 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf | bin | 256987 -> 256933 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/mathtools/test.pdf | bin | 3812 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/mathtools/empheq.ins | 94 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mathtools/mathtools.dtx | 110 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mathtools/mathtools.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mathtools/mhsetup.ins | 93 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/mathtools/mathtools.sty | 18 |
9 files changed, 113 insertions, 206 deletions
diff --git a/Master/texmf-dist/doc/latex/mathtools/empheq.pdf b/Master/texmf-dist/doc/latex/mathtools/empheq.pdf Binary files differindex d7f91d3071e..e3e75f26f87 100644 --- a/Master/texmf-dist/doc/latex/mathtools/empheq.pdf +++ b/Master/texmf-dist/doc/latex/mathtools/empheq.pdf diff --git a/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf b/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf Binary files differindex b47de742772..9921854b8b0 100644 --- a/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf +++ b/Master/texmf-dist/doc/latex/mathtools/mathtools.pdf diff --git a/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf b/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf Binary files differindex a3a4faccf93..2be52b31ab9 100644 --- a/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf +++ b/Master/texmf-dist/doc/latex/mathtools/mhsetup.pdf diff --git a/Master/texmf-dist/doc/latex/mathtools/test.pdf b/Master/texmf-dist/doc/latex/mathtools/test.pdf Binary files differdeleted file mode 100644 index a82f6e29baa..00000000000 --- a/Master/texmf-dist/doc/latex/mathtools/test.pdf +++ /dev/null diff --git a/Master/texmf-dist/source/latex/mathtools/empheq.ins b/Master/texmf-dist/source/latex/mathtools/empheq.ins deleted file mode 100644 index 265efeb2bbc..00000000000 --- a/Master/texmf-dist/source/latex/mathtools/empheq.ins +++ /dev/null @@ -1,94 +0,0 @@ -%% -%% This is file `empheq.ins', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% empheq.dtx (with options: `install') -%% -%% This is a generated file. -%% -%% Copyright (C) 2002-2007 by Morten Hoegholm -%% Copyright (C) 2012-2019 by Lars Madsen -%% Copyright (C) 2020- by Lars Madsen, The LaTeX3 Project -%% -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either -%% version 1.3 of this license or (at your option) any later -%% version. The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of -%% LaTeX version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% -%% This Current Maintainer of this work is -%% Lars Madsen, The LaTeX3 Project -%% -%% This work consists of the main source file empheq.dtx -%% and the derived files -%% empheq.sty, empheq.pdf, empheq.ins, empheq.drv. -%% -\input docstrip.tex -\Msg{************************************************************************} -\Msg{* Installation} -\Msg{* Package: empheq 2020/03/24 v2.16 empheq} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\preamble - -This is a generated file. - -Copyright (C) 2002-2007 by Morten Hoegholm -Copyright (C) 2012-2019 by Lars Madsen -Copyright (C) 2020- by Lars Madsen, The LaTeX3 Project - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3 of this license or (at your option) any later -version. The latest version of this license is in - http://www.latex-project.org/lppl.txt -and version 1.3 or later is part of all distributions of -LaTeX version 2005/12/01 or later. - -This work has the LPPL maintenance status "maintained". - -This Current Maintainer of this work is -Lars Madsen, The LaTeX3 Project - -This work consists of the main source file empheq.dtx -and the derived files - empheq.sty, empheq.pdf, empheq.ins, empheq.drv. - -\endpreamble - -\generate{% - \file{empheq.ins}{\from{empheq.dtx}{install}}% - \file{empheq.drv}{\from{empheq.dtx}{driver}}% - \usedir{tex/latex/mh}% - \file{empheq.sty}{\from{empheq.dtx}{package}}% -} - -\obeyspaces -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* empheq.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `empheq.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -\endinput -%% -%% End of file `empheq.ins'. diff --git a/Master/texmf-dist/source/latex/mathtools/mathtools.dtx b/Master/texmf-dist/source/latex/mathtools/mathtools.dtx index 28526b0a88c..db726b51b51 100644 --- a/Master/texmf-dist/source/latex/mathtools/mathtools.dtx +++ b/Master/texmf-dist/source/latex/mathtools/mathtools.dtx @@ -69,7 +69,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: mathtools 2022/06/29 v1.29} +\Msg{* Package: mathtools 2024/03/11 v1.30} \Msg{************************************************************************} \keepsilent @@ -133,7 +133,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{mathtools.drv}% - [2022/06/29 v1.29 mathematical typesetting tools] + [2024/03/11 v1.30 mathematical typesetting tools] \documentclass{ltxdoc} \IfFileExists{fourier.sty}{\usepackage{fourier}}{} @@ -333,7 +333,7 @@ colorlinks, % % \GetFileInfo{mathtools.drv} % -% \CheckSum{3740} +% \CheckSum{3772} % % \title{The \pkg{mathtools} package\thanks{This file has version number % \fileversion, last revised \filedate.}} @@ -1056,7 +1056,7 @@ colorlinks, % \usepackage[overload,ntheorem]{empheq} % \end{verbatim} % before loading \pkg{ntheorem}. But the \texttt{overload} option of -% course disables things like \cs{intertext} and \cs{shotintertext}. +% course disables things like \cs{intertext} and \cs{shortintertext}. % % The other thing to try is to drop the \texttt{overload} option % and use \env{empheq} on the very last expression, as in @@ -1118,6 +1118,21 @@ colorlinks, % \[ % A \xLeftarrow[under]{over} B % \] +% \textbf{Caveat for \cs{xmapsto}:} Whenever \pkg{unicode-math} is +% used, the macro \cs{xmapsto} will not work correctly (a random 7 +% appears). This is due to how we define \cs{xmapsto}: the symbol +% »\,$\mapstochar{}$\,« (via \cs{mapstochar}, setup in the \LaTeX{} +% kernel) and extensible \cs{rightarrow}. The symbol behind +% \cs{mapstochar} is not defined in unicode, and thus is not +% available in the unicode math fonts.\footnote{The symbol +% $\mapsto$ \emph{is} in unicode and \pkg{unicode-math} maps +% \cs{mapsto} onto this symbol in the unicode math font. Whereas +% without \pkg{unicode-math}, \cs{mapsto} is a symbol constructed +% by combining \cs{mapstochar} and \cs{rightarrow}. On the other +% hand \textsf{lualatex} \emph{does} have some special macros to +% create extensible arrows, but \emph{none} of these can write above +% \emph{and} below at the same time. So for now we leave this +% unresolved.} % \begin{codesyntax} % \SpecialUsageIndex{\xrightharpoondown} % \cs{xrightharpoondown}\oarg{sub}\marg{sup}\texttt{~~~~} @@ -1170,6 +1185,24 @@ colorlinks, % A & \xlongrightarrow[b]{a} B & A & \xlongleftarrow[b]{a} B \\ % A & \xlongrightarrow[below]{above} B & A & \xlongleftarrow[below]{above} B \\ % \end{align*} +% \begin{codesyntax} +% \SpecialUsageIndex{\xLongrightarrow} +% \cs{xLongrightarrow}\oarg{sub}\marg{sup}\texttt{~~~~} +% \SpecialUsageIndex{\xLongleftarrow} +% \cs{xLongleftarrow}\oarg{sub}\marg{sup}\texttt{~~~~} +% \end{codesyntax} +% \FeatureRequest{quarkQuark {\footnotesize (issue \#51)}}{added 2024}% +% Similar to \cs{xRight/Leftarrow} but based on the \emph{long} +% versions. For short arguments it stays the same length as the +% \cs{long...} base arrow. +% \begin{align*} +% A & \xLongrightarrow B & A & \Longleftarrow B \\ +% A & \xLongrightarrow[b]{a} B & A & \xLongleftarrow[b]{a} B \\ +% A & \xLongrightarrow[below]{above} B & A & \xLongleftarrow[below]{above} B \\ +% \end{align*} + +% +% % % \subsubsection{Braces and brackets} % @@ -2019,15 +2052,26 @@ colorlinks, % \] % \end{itemize} % +% \paragraph{A note on the delimiters.} Whenever the manual scalings +% are used we internally convert them into their \cs{...l} and +% \cs{...r} variants. Therefore if you define your own manual +% scalers, remember to also have -l and -r variants. +% \\ +% \emph{New from version 1.30.} You can now use »\verb|.|« (dot) +% as an empty delimiter, for macros what only have a delimiter on one +% side.\footnote{The syntax is borrowed from +% \cs{left.}\cs{frac\{1\}\{2\}}\cs{right}\cs{rvert} where the dot marks an empty +% delimiter. } +% % \begin{codesyntax} % \SpecialUsageIndex{\DeclarePairedDelimiterX} % \cs{DeclarePairedDelimiterX}\marg{cmd}\oarg{num args}\marg{left_delim}\marg{right_delim}\marg{body}\\ % \cs{delimsize} % \end{codesyntax} % Sometimes one might want to have the capabilities of -% \cs{DeclarePairedDelimiter}, but also want a macro the takes more -% than one argument and specify plus being able to specify the body -% of the generated macro. +% \cs{DeclarePairedDelimiter}, but also want a macro which takes more +% than one argument plus being able to specify the body of the +% generated macro. % % \cs{DeclarePairedDelimiterX} extends the features of % \cs{DeclarePairedDelimiter} such that the user will get a macro @@ -2183,8 +2227,8 @@ colorlinks, % the \marg{pre code} and \marg{post code} it is identical to % \cs{DeclarePairedDelimiterX}. It should be interpreted as % \begin{center} -% \marg{pre code} \marg{left_delim} \marg{body} -% \marg{right_delim} \marg{post code} +% \marg{pre code} \marg{left_delim} \marg{right_delim} +% \marg{post code} \marg{body} % \end{center} % % @@ -2261,7 +2305,7 @@ colorlinks, % The default values for the call backs correspond to % \begin{verbatim} % star: \mathopen{}\mathclose\bgroup #1#2\aftergroup\egroup #3 -% nostarnonscaled: \mathopen#1#2\mathclose#3 +% nostarnonscaled: \ifx.#1\else\mathopen#1\fi#2\ifx.#3\else\mathclose#3\fi % nostarscaled: \mathopen{#1}#2\mathclose{#3} % \end{verbatim} % The two \texttt{nostar...} versions look the same, but they are @@ -2768,7 +2812,7 @@ colorlinks, % \SpecialUsageIndex{\splitdfrac}\cs{splitdfrac}\marg{start line}\marg{continuation} % \end{codesyntax} % \cttPosting{Michael J.~Downes}{2001/12/06} -% These commands provide split fractions e.g., multiline fractions: +% These commands provide split fractions, e.g., multiline fractions: % \begin{verbatim} % \[ % a=\frac{ @@ -3094,7 +3138,7 @@ colorlinks, % \begin{macrocode} %<*package> \ProvidesPackage{mathtools}% - [2022/06/29 v1.29 mathematical typesetting tools] + [2024/03/11 v1.30 mathematical typesetting tools] % \end{macrocode} % \changes{v1.10}{2011/02/12}{Might as well make sure that we need the % latest version of \texttt{mhsetup}} @@ -3292,10 +3336,11 @@ colorlinks, % commands similar to \cs{tagform@} only this will give us tag form % \emph{types}. The actual code is very similar to the one in % \pkg{amsmath}. +% \changes{v1.30}{2024/01/19}{Add group so \#2 (the inner format) does not leak} % \begin{macrocode} \def\MT_define_tagform:nwnn #1[#2]#3#4{ \@namedef{MT_tagform_#1:n}##1 - {\maketag@@@{#3\ignorespaces#2{##1}\unskip\@@italiccorr#4}} + {\maketag@@@{#3\ignorespaces{#2{##1}}\unskip\@@italiccorr#4}} } % \end{macrocode} % \end{macro} @@ -3789,8 +3834,31 @@ colorlinks, \arrowfill@{\mapstochar\relbar}\relbar\rightarrow} % \end{macrocode} % \end{macro} -% \end{macro} +% \end{macro} +% 2024 (v1.30): Added \verb+\xLongrightarrow+ and \verb+\xLongleftarrow+. Code by muzimuchi on GitHub. I added extra spaces like for |\xRightarrow| above. +% \begin{macro}{\MT_Longrightarrow_fill:} +% \begin{macro}{\MT_Longleftarrow_fill:} +% \begin{macro}{\xLongrightarrow} +% \begin{macro}{\xLongleftarrow} +% \begin{macrocode} +\def\MT_Longrightarrow_fill:{% + \arrowfill@\Relbar\Relbar\Longrightarrow} +\def\MT_Longleftarrow_fill:{% + \arrowfill@\Longleftarrow\Relbar\Relbar} + +\providecommand*\xLongrightarrow[2][]{% + \ext@arrow 0359\MT_Longrightarrow_fill:{#1\ }{#2\ }} +\providecommand*\xLongleftarrow[2][]{% + \ext@arrow 3095\MT_Longleftarrow_fill:{\ #1}{\ #2}} + +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% % \subsection{Underbrackets etc.} +% % \begin{macro}{\underbracket} % \begin{macro}{\MT_underbracket_I:w} % \begin{macro}{\MT_underbracket_II:w} @@ -3981,6 +4049,13 @@ colorlinks, } } % \end{macrocode} +% +% \changes{v1.30}{2022/11/15}{Forgot to define a default +% \cs{MT\_active\_colon_false:}, who would run centercolon=false +% before it being true?} +% \begin{macrocode} +\def\MT_active_colon_false:{} +% \end{macrocode} % \end{macro} % \end{macro} % \end{macro} @@ -4596,8 +4671,13 @@ colorlinks, \@namedef{MT_delim_\MH_cs_to_str:N #1 _nostarscaled_wrapper:nnn}##1##2##3{ \mathopen{##1}##2\mathclose{##3} } +% \end{macrocode} +% \changes{v1.30}{2024/01/18}{Changed the nostarnonscaled to support the empty scaler (dot).} +% If we want to support the empty scaler (dot) we need a test in the non-scaled case, otherwise a dot would be left in the output. +% Test sugggested by David Carlisle. +% \begin{macrocode} \@namedef{MT_delim_\MH_cs_to_str:N #1 _nostarnonscaled_wrapper:nnn}##1##2##3{ - \mathopen##1##2\mathclose##3 + \ifx.##1\else\mathopen##1\fi##2\ifx.##3\else\mathclose##3\fi } } diff --git a/Master/texmf-dist/source/latex/mathtools/mathtools.ins b/Master/texmf-dist/source/latex/mathtools/mathtools.ins index f13c6c01a54..a8df08bca3c 100644 --- a/Master/texmf-dist/source/latex/mathtools/mathtools.ins +++ b/Master/texmf-dist/source/latex/mathtools/mathtools.ins @@ -12,6 +12,7 @@ %% Copyright (C) 2012-2019 by Lars Madsen %% Copyright (C) 2020- by Lars Madsen, the LaTeX3 project %% +%% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later @@ -32,7 +33,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: mathtools 2022/02/07 v1.28a} +\Msg{* Package: mathtools 2024/03/11 v1.30} \Msg{************************************************************************} \keepsilent @@ -88,6 +89,7 @@ and the derived files \Msg{************************************************************************} \endbatchfile + \endinput %% %% End of file `mathtools.ins'. diff --git a/Master/texmf-dist/source/latex/mathtools/mhsetup.ins b/Master/texmf-dist/source/latex/mathtools/mhsetup.ins deleted file mode 100644 index 4ba3ce8d647..00000000000 --- a/Master/texmf-dist/source/latex/mathtools/mhsetup.ins +++ /dev/null @@ -1,93 +0,0 @@ -%% -%% This is file `mhsetup.ins', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% mhsetup.dtx (with options: `install') -%% -%% This is a generated file. -%% -%% Copyright (C) 2002-2007,2010 by Morten Hoegholm -%% Copyright (C) 2017-2019 by Lars Madsen -%% Copyright (C) 2020- by Lars Madsen, The LaTeX3 team -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either -%% version 1.3 of this license or (at your option) any later -%% version. The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of -%% LaTeX version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% -%% This Current Maintainer of this work is Lars Madsen -%% <daleif@math.au.dk>, The LaTeX3 team https://github.com/latex3/mathtools -%% -%% This work consists of the main source file mhsetup.dtx -%% and the derived files -%% mhsetup.sty, mhsetup.pdf, mhsetup.ins, mhsetup.drv. -%% -\input docstrip.tex -\Msg{************************************************************************} -\Msg{* Installation} -\Msg{* Package: mhsetup 2021/03/18 v1.4 mhsetup} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\preamble - -This is a generated file. - -Copyright (C) 2002-2007,2010 by Morten Hoegholm -Copyright (C) 2017-2019 by Lars Madsen -Copyright (C) 2020- by Lars Madsen, The LaTeX3 team - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. The latest version of this license is in - http://www.latex-project.org/lppl.txt -and version 1.3c or later is part of all distributions of -LaTeX version 2008/05/04 or later. - -This work has the LPPL maintenance status "maintained". - -This Current Maintainer of this work is Lars Madsen -<daleif@math.au.dk>, The LaTeX3 team https://github.com/latex3/mathtools - -This work consists of the main source file mhsetup.dtx -and the derived files - mhsetup.sty, mhsetup.pdf, mhsetup.ins, mhsetup.drv. - -\endpreamble - -\generate{% - \file{mhsetup.ins}{\from{mhsetup.dtx}{install}}% - \file{mhsetup.drv}{\from{mhsetup.dtx}{driver}}% - \usedir{tex/latex/mh}% - \file{mhsetup.sty}{\from{mhsetup.dtx}{package}}% -} - -\obeyspaces -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* mhsetup.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `mhsetup.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -\endinput -%% -%% End of file `mhsetup.ins'. diff --git a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty index 42740d26db8..7128d19c504 100644 --- a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty +++ b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty @@ -30,8 +30,9 @@ %% and the derived files %% mathtools.sty, mathtools.pdf, mathtools.ins, mathtools.drv. %% + \ProvidesPackage{mathtools}% - [2022/06/29 v1.29 mathematical typesetting tools] + [2024/03/11 v1.30 mathematical typesetting tools] \RequirePackage{keyval,calc} \RequirePackage{mhsetup}[2021/03/18] \MHInternalSyntaxOn @@ -133,7 +134,7 @@ } \def\MT_define_tagform:nwnn #1[#2]#3#4{ \@namedef{MT_tagform_#1:n}##1 - {\maketag@@@{#3\ignorespaces#2{##1}\unskip\@@italiccorr#4}} + {\maketag@@@{#3\ignorespaces{#2{##1}}\unskip\@@italiccorr#4}} } \providecommand*\newtagform[1]{% \@ifundefined{MT_tagform_#1:n} @@ -377,6 +378,16 @@ \ext@arrow 0395\MT_mapsto_fill:{#1}{#2}} \def\MT_mapsto_fill:{% \arrowfill@{\mapstochar\relbar}\relbar\rightarrow} +\def\MT_Longrightarrow_fill:{% + \arrowfill@\Relbar\Relbar\Longrightarrow} +\def\MT_Longleftarrow_fill:{% + \arrowfill@\Longleftarrow\Relbar\Relbar} + +\providecommand*\xLongrightarrow[2][]{% + \ext@arrow 0359\MT_Longrightarrow_fill:{#1\ }{#2\ }} +\providecommand*\xLongleftarrow[2][]{% + \ext@arrow 3095\MT_Longleftarrow_fill:{\ #1}{\ #2}} + \providecommand*\underbracket{ \@ifnextchar[ {\MT_underbracket_I:w} @@ -471,6 +482,7 @@ \mathcode`\:=32768 } } +\def\MT_active_colon_false:{} \newcommand*\MATHT@dblcolon{\vcentcolon\mathrel{\mkern-.9mu}\vcentcolon} \newcommand*\MATHT@coloneq{\vcentcolon\mathrel{\mkern-1.2mu}=} \newcommand*\MATHT@dblcoloneq{\dblcolon\mathrel{\mkern-1.2mu}=} @@ -822,7 +834,7 @@ \mathopen{##1}##2\mathclose{##3} } \@namedef{MT_delim_\MH_cs_to_str:N #1 _nostarnonscaled_wrapper:nnn}##1##2##3{ - \mathopen##1##2\mathclose##3 + \ifx.##1\else\mathopen##1\fi##2\ifx.##3\else\mathclose##3\fi } } |