Debian Codegraph @

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

raw
1 % cancel.4ht (2022-05-19-13:37), generated from tex4ht-4ht.tex
2 % Copyright 2022 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2022-05-19-13:37}
20
21 \def\:cancelchoose#1#2{\relax\ifmmode\csname a:#1-math\endcsname#2\csname b:#1-math\endcsname\else\csname a:#1\endcsname#2\csname b:#1\endcsname\fi}
22 \NewConfigure{cancel}{2}
23 \NewConfigure{cancel-math}{2}
24 \def\:tempa#1{\:cancelchoose{cancel}{#1}}
25 % \def\:tempa#1{\ifmmode\a:cancelmath#1\b:cancelmath\else\a:cancel#1\b:cancel\fi}
26 \HLet\cancel\:tempa
27
28 \NewConfigure{bcancel}{2}
29 \NewConfigure{bcancel-math}{2}
30 \def\:tempa#1{\:cancelchoose{bcancel}{#1}}
31 % \def\:tempa#1{\ifmmode\a:bcancelmath#1\b:bcancelmath\else\a:bcancel#1\b:bcancel\fi}
32 \HLet\bcancel\:tempa
33
34 \NewConfigure{xcancel}{2}
35 \NewConfigure{xcancel-math}{2}
36 \def\:tempa#1{\:cancelchoose{xcancel}{#1}}
37 % \def\:tempa#1{\ifmmode\a:xcancelmath#1\b:xcancelmath\else\a:xcancel#1\b:xcancel\fi}
38 \HLet\xcancel\:tempa
39
40 \NewConfigure{cancelto}{3}
41 \def\:tempa#1#2{\a:cancelto#1\b:cancelto#2\c:cancelto}
42 \HLet\cancelto\:tempa
43
44
45 \Hinput{cancel}
46 \endinput
47