blob: 056201b9b9c9ad7d5494c95bee2d6783c0695a5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% mathtools.4ht 2008-08-07-16:09 %
% Copyright (C) 2007--2008 Eitan M. Gurari %
% %
% 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 2005/12/01 or later. %
% %
% This work has the LPPL maintenance status "maintained".%
% %
% This Current Maintainer of this work %
% is Eitan M. Gurari. %
% %
% If you modify this program your changing its signature %
% with a directive of the following form will be %
% appreciated. %
% \message{signature} %
% %
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\immediate\write-1{version 2008-08-07-16:09}
\ifx \o:endgathered:\:UnDef\else
\HRestore\endgathered
\fi
\def\shortintertext{\intertext}
\def\:tempc#1#2{{\csname a:prescript\endcsname}\sp{#1}\sb{#2}}
\expandafter\HLet\csname prescript \endcsname=\:tempc
\NewConfigure{prescript}{1}
\Configure{prescript}{\HCode{<mrow class="prescript"></mrow>}}
\renewenvironment{dcases}[1][c]{%
\RIfM@\else
\nonmatherr@{\begin{\@currenvir}}%
\fi
\left\lbrace
\vcenter \bgroup
\Let@ \chardef\dspbrk@context\@ne \restore@math@cr
\spread@equation
\ialign\bgroup
\strut@$\m@th\displaystyle{##}$\hfil&\quad$\m@th\displaystyle{##}$\hfil\strut@
\crcr
}
{\endaligned\right.}
\catcode`\#13 \catcode`\!6
\def\reg:dcases[!1]{%
\RIfM@\else
\nonmatherr@{\begin{dcases}}%
\fi
\vcenter\bgroup
\Let@ \chardef\dspbrk@context\@ne \restore@math@cr
\SaveMkHalignConf:g{dcases}%
\MkHalign#{$\m@th\displaystyle{\HCode{}}#$&\quad$\m@th\displaystyle{\HCode{}}#$}%
}
\catcode`\#=6 \catcode`\!=12
\def\:tempc{\crcr\EndMkHalign
\RecallMkHalignConfig \egroup\b:dcases \right.}
\HLet\enddcases\:tempc
\def\:temp{\left\lbrace \pic:MkHalign{dcases}}
\expandafter\HLet\csname \string\dcases\endcsname\:temp
\NewConfigure{dcases}{6}
\renewenvironment{dcases*}[1][c]{%
\RIfM@\else
\nonmatherr@{\begin{\@currenvir}}%
\fi
\left\lbrace
\vcenter \bgroup
\Let@ \chardef\dspbrk@context\@ne \restore@math@cr
\spread@equation
\ialign\bgroup
\strut@$\m@th\displaystyle{##}$\hfil&\quad{##}\hfil\strut@
\crcr
}
{\endaligned\right.}
\catcode`\#13 \catcode`\!6
\expandafter\def\csname reg:dcases*\endcsname[!1]{%
\RIfM@\else
\nonmatherr@{\begin{dcases*}}%
\fi
\vcenter\bgroup
\Let@ \chardef\dspbrk@context\@ne \restore@math@cr
\SaveMkHalignConf:g{dcases*}%
\MkHalign#{$\m@th\displaystyle{\HCode{}}#$\quad&#}%
}
\catcode`\#=6 \catcode`\!=12
\def\:tempc{\crcr\EndMkHalign
\RecallMkHalignConfig \egroup\csname b:dcases*\endcsname \right.}
\expandafter\HLet\csname enddcases*\endcsname\:tempc
\def\:temp{\left\lbrace \pic:MkHalign{dcases*}}
\expandafter\HLet\csname \string\dcases*\endcsname\:temp
\NewConfigure{dcases*}{6}
\edef\cat:underscore{%
\noexpand\catcode`\noexpand\_=\the\catcode`\_ }
\catcode`\_=11
\def\MT_gathered_pre:{}
\def\MT_gathered_post:{}
\def\MT_gathered_env_end:{}
\catcode`\#13 \catcode`\!6
\def\reg:MT_gathered_env[!1]{%
\RIfM@\else
\nonmatherr@{\begin{MT_gathered_env}}%
\fi
\null \vcenter\bgroup
\Let@ \chardef\dspbrk@context\@ne \restore@math@cr
\SaveMkHalignConf:g{MT_gathered_env}%
\MkHalign#{$\m@th\displaystyle{\HCode{}}#$}%
}
\catcode`\#=6 \catcode`\!=12
\def\:tempc{\crcr\EndMkHalign
\RecallMkHalignConfig \egroup\b:MT_gathered_env}
\HLet\endMT_gathered_env\:tempc
\def\:temp{\pic:MkHalign{MT_gathered_env}}
\expandafter\HLet\csname \string\MT_gathered_env\endcsname\:temp
\NewConfigure{MT_gathered_env}{6}
\def\:tempc#1#2{{\m@th#1{#2}}}
\HLet\MT_cramped_internal:Nn\:tempc
\cat:underscore
\Hinput{mathtools}
\endinput
|