Debian Codegraph @

texmf-dist/tex/generic/tex4ht/amscd.4ht

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % amscd.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2000--2009 Eitan M. Gurari %
4 % %
5 % This work may be distributed and/or modified under the %
6 % conditions of the LaTeX Project Public License, either %
7 % version 1.3c of this license or (at your option) any %
8 % later version. The latest version of this license is %
9 % in %
10 % http://www.latex-project.org/lppl.txt %
11 % and version 1.3c or later is part of all distributions %
12 % of LaTeX version 2005/12/01 or later. %
13 % %
14 % This work has the LPPL maintenance status "maintained".%
15 % %
16 % This Current Maintainer of this work %
17 % is Eitan M. Gurari. %
18 % %
19 % If you modify this program your changing its signature %
20 % with a directive of the following form will be %
21 % appreciated. %
22 % \message{signature} %
23 % %
24 % [email protected] %
25 % http://www.cse.ohio-state.edu/~gurari %
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27 \immediate\write-1{version 2009-05-21-09:32}
28
29 \catcode`\#13 \catcode`\!6
30 \def\reg:CD{%
31 \CDat
32 \bgroup\relax\iffalse{\fi\let\ampersand@&\iffalse}\fi
33 \CD@true\vcenter\bgroup
34 \let\\\math@cr\restore@math@cr\default@tag
35 \SaveMkHalignConf:g{CD}\HRestore\noalign
36 \MkHalign#{&$\m@th#$}%
37 }
38 \catcode`\#=6 \catcode`\!=12
39 \def\:tempc{\crcr
40 \EndMkHalign\RecallMkHalignConfig \b:CD \egroup\egroup
41 }
42 \HLet\endCD\:tempc
43 \def\:temp{\pic:MkHalign{CD}}
44 \HLet\CD\:temp
45 \NewConfigure{CD}{6}
46 \def\:tempc#1>#2>{\ampersand@
47 \ifCD@ \global\bigaw@\minCDarrowwidth \else \global\bigaw@\minaw@ \fi
48 \setboxz@h{$\m@th\scriptstyle\;{#1}\;\;$}%
49 \ifdim\wdz@>\bigaw@\global\bigaw@\wdz@\fi
50 \@ifnotempty{#2}{\setbox\@ne\hbox{$\m@th\scriptstyle\;{#2}\;\;$}%
51 \ifdim\wd\@ne>\bigaw@\global\bigaw@\wd\@ne\fi}%
52 \ifCD@\enskip\fi
53 \csname a: @>\endcsname
54 \mathrel {%
55 \mathop{\hbox to\bigaw@{\rightarrowfill@\displaystyle}}%
56 \if !#2!\limits\sp{#1}\else \limits\sp{#1}\sb{#2}\fi}%
57 \ifCD@\enskip\fi \ampersand@}
58 \expandafter\HLet\csname\space @>\endcsname\:tempc
59 \NewConfigure{ @>}{1}
60 \def\:tempc#1<#2<{\ampersand@
61 \ifCD@ \global\bigaw@\minCDarrowwidth \else \global\bigaw@\minaw@ \fi
62 \setboxz@h{$\m@th\scriptstyle\;\;{#1}\;$}%
63 \ifdim\wdz@>\bigaw@ \global\bigaw@\wdz@ \fi
64 \@ifnotempty{#2}{\setbox\@ne\hbox{$\m@th\scriptstyle\;\;{#2}\;$}%
65 \ifdim\wd\@ne>\bigaw@ \global\bigaw@\wd\@ne \fi}%
66 \ifCD@\enskip\fi
67 \csname a: @<\endcsname
68 \mathrel{\mathop{\hbox to\bigaw@{\leftarrowfill@\displaystyle}}%
69 \if !#2!\limits\sp{#1}\else \limits\sp{#1}\sb{#2}\fi}%
70 \ifCD@\enskip\fi \ampersand@}
71 \expandafter\HLet\csname\space @<\endcsname\:tempc
72 \NewConfigure{ @<}{1}
73 \def\:tempc#1V#2V{\CD@check{V..V..V}{%
74 \csname a: @V\endcsname{#1}{#2}}%
75 \llap{$\m@th\vcenter{\hbox
76 {$\scriptstyle#1$}}$}\Big\downarrow
77 \rlap{$\m@th\vcenter{\hbox{$\scriptstyle#2$}}$}%
78 \csname b: @V\endcsname{#1}{#2}%
79 &&}
80 \expandafter\HLet\csname\space @V\endcsname\:tempc
81 \NewConfigure{ @V}[2]{%
82 \expandafter\def\csname a: @V\endcsname##1##2{#1}%
83 \expandafter\def\csname b: @V\endcsname##1##2{#2}}
84 \Configure{ @V}{}{}
85
86 \Hinput{amscd}
87 \endinput
88