summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cases
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-11 22:52:41 +0000
committerKarl Berry <karl@freefriends.org>2020-04-11 22:52:41 +0000
commit3762831356905ca6472a7b751d16cb2b157ce8d5 (patch)
treeae209a541b0ea9e408e534bc9723ed2c9756ab79 /Master/texmf-dist/tex/latex/cases
parent904335818c50eecd9c5daa93a43089c78154d187 (diff)
cases (4apr20)
git-svn-id: svn://tug.org/texlive/trunk@54682 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cases')
-rw-r--r--Master/texmf-dist/tex/latex/cases/cases.sty15
1 files changed, 7 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/cases/cases.sty b/Master/texmf-dist/tex/latex/cases/cases.sty
index 13d2effa549..ddee362c63a 100644
--- a/Master/texmf-dist/tex/latex/cases/cases.sty
+++ b/Master/texmf-dist/tex/latex/cases/cases.sty
@@ -1,4 +1,4 @@
-% C A S E S . S T Y ver 3.1 Mar 2020
+% C A S E S . S T Y ver 3.2 Mar 2020
%
% Copyright (C) 1993,1994,1995,2000,2002,2020 by Donald Arseneau
% asnd@triumf.ca
@@ -30,7 +30,7 @@
%
% For detailed description and package options, see cases.pdf (cases.tex).
-\ProvidesPackage{cases}[2020/03/10 ver 3.1]
+\ProvidesPackage{cases}[2020/03/29 ver 3.2]
\newdimen\numc@numwid
@@ -72,10 +72,10 @@
\setbox\tw@\vbox\bgroup
\everycr{}\let\\\@eqncr \let\@@eqncr\@@numc@cr
\tabskip\@tempskipa
- \halign to\dimen@ii \bgroup % white space for LHS followed by RHS
- \kern\wd\z@ \kern10\p@ % assume (and force) width of brace
+ \halign to \ifx\numc@left\mathindent \linewidth \else \displaywidth \fi \bgroup
+ \kern\wd\z@ \kern10\p@ % white space for LHS; assume (and force) width of brace
\global\let\iftag@=\iffalse % for amsmath (make sure this is not in \if block)
- \global\@eqcnt\@ne $\numc@dispstyle ##\relax$\hfil
+ \global\@eqcnt\@ne $\numc@dispstyle ##\relax$\hfil % RHS
\tabskip\z@skip &% explanation
\global\@eqcnt\tw@
\numc@expstyle\quad ##\unskip\numc@expstyle\hfil % \unskip removes quad if no explanation
@@ -208,7 +208,7 @@ $$\global\@ignoretrue}
}% end amsmath branch
\def\numc@left{\@centering}
-\def\numc@opts{\dimen@ii\displaywidth}
+\def\numc@opts{}
\def\numc@forcenumwid{\numc@numwid}
\DeclareOption{subnum}{%
@@ -218,8 +218,7 @@ $$\global\@ignoretrue}
\DeclareOption{fleqn}{
\let\numc@left\mathindent
- \def\numc@opts{\displaywidth\linewidth
- \dimen@ii\linewidth }
+ \def\numc@opts{\displaywidth\linewidth}
}
\DeclareOption{leqno}{