Debian Codegraph @

texk/web2c/euptexdir/tests/lastnodesubtype_math.tex

raw
1 \def\typeout{\immediate\write17}
2 \newcount\CNT\newcount\CNTs
3 \def\TEST#1#2#3{\par$#1{xyz}#2\CNT=\lastnodetype\CNTs=\lastnodesubtype\typeout{\string #1: (\the\CNT,\the\CNTs)}#3$}
4
5 \TEST\displaystyle\displaystyle{}
6 \TEST\textstyle\textstyle{}
7 \TEST\mathchoice{{a}{a}{a}}{}
8 \TEST\mathord{}{}
9 \TEST\mathop\displaylimits{}
10 \TEST\mathop\limits{}
11 \TEST\mathop\nolimits{}
12 \TEST\mathbin{}{}
13 \TEST\mathrel{}{}
14 \TEST\mathopen{}{}
15 \TEST\mathclose{}{}
16 \TEST\mathpunct{}{}
17 \TEST\mathinner{}{}
18 \TEST\sqrt{}{}% radical
19 \TEST\underline{}{}
20 \TEST\overline{}{}
21 \TEST\vcenter{}{}
22 \TEST\dot{}{}% accent
23
24 \TEST{left}{\left[}{\right]}
25 \TEST{middle}{\left(\middle|}{\right)}
26 \TEST{\left[\right]}{}{}
27 % TODO: right, fraction
28
29 \bye