Papers affected:
The multlined environment from the mathtools package has the following syntax:
\begin{multlined}[pos][width]
where both of the arguments are optional (and you can have neither, one, or both). However, while there can be space before the first optional argument, there can be no space between the optional arguments or TeX will fail to recognize the second optional argument as an argument.
At current, multlined is implemented as
\DefineAMSMathSimpleEnvironment{multlined}
where \DefineAMSMathSimpleEnvironment is implemented as
|
\def\DefineAMSMathSimpleEnvironment#1{% |
|
\@ifundefined{#1}\newenvironment\renewenvironment{#1}[1][]{% |
|
\string\begin{#1}% |
|
\if######1####\else[##1]\fi |
|
\UnicodeLineFeed |
Note that the simple environment (1) only accepts up to one possible optional argument and (2) will insert a linefeed (i.e., a space token) following the first optional argument. This means that any instance of
\begin{multlined}[pos][width]
will be turned into
\begin{multlined}[pos]
[width]
in the XML, which fails to render correctly in the HTML.
Papers affected:
The
multlinedenvironment from themathtoolspackage has the following syntax:where both of the arguments are optional (and you can have neither, one, or both). However, while there can be space before the first optional argument, there can be no space between the optional arguments or TeX will fail to recognize the second optional argument as an argument.
At current,
multlinedis implemented as\DefineAMSMathSimpleEnvironment{multlined}where
\DefineAMSMathSimpleEnvironmentis implemented astexml/lib/perl/TeX/Interpreter/LaTeX/Package/amsmath.pm
Lines 159 to 163 in bf044e7
Note that the simple environment (1) only accepts up to one possible optional argument and (2) will insert a linefeed (i.e., a space token) following the first optional argument. This means that any instance of
will be turned into
in the XML, which fails to render correctly in the HTML.