summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/mathtools/mathtools.sty26
1 files changed, 22 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
index f4e05d0104e..027a0a2328c 100644
--- a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
+++ b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
@@ -30,7 +30,7 @@
%% mathtools.sty, mathtools.pdf, mathtools.ins, mathtools.drv.
%%
\ProvidesPackage{mathtools}%
- [2015/05/11 v1.16 mathematical typesetting tools]
+ [2015/06/17 v1.17 mathematical typesetting tools]
\RequirePackage{keyval,calc}
\RequirePackage{mhsetup}[2010/01/21]
\MHInternalSyntaxOn
@@ -1221,7 +1221,13 @@
\vskip\normallineskiplimit % CCS
\vskip\l_MT_above_intertext_sep
\vbox{\normalbaselines
- \ifdim\linewidth=\columnwidth
+ \ifdim
+ \ifdim\@totalleftmargin=\z@
+ \linewidth
+ \else
+ -\maxdimen
+ \fi
+ =\columnwidth
\else \parshape\@ne \@totalleftmargin \linewidth
\fi
\noindent##1\par}%
@@ -1244,7 +1250,13 @@
\noalign{%
\penalty\postdisplaypenalty\vskip\abovedisplayshortskip
\vbox{\normalbaselines
- \if_dim:w \linewidth=\columnwidth
+ \if_dim:w
+ \if_dim:w \@totalleftmargin=\z@
+ \linewidth
+ \else:
+ -\maxdimen
+ \fi:
+ =\columnwidth
\else:
\parshape\@ne \@totalleftmargin \linewidth
\fi:
@@ -1282,7 +1294,13 @@
\vskip\normallineskiplimit
\vskip\l_MT_above_shortintertext_sep
\vbox{\normalbaselines
- \if_dim:w \linewidth=\columnwidth
+ \if_dim:w
+ \if_dim:w \@totalleftmargin=\z@
+ \linewidth
+ \else:
+ -\maxdimen
+ \fi:
+ =\columnwidth
\else:
\parshape\@ne \@totalleftmargin \linewidth
\fi: