Debian Codegraph @

texk/web2c/euptexdir/tests/lastnodefont.tex

raw
1 \newcount\res
2 \def\test#1{%
3 \setbox0\hbox{#1\global\res=\lastnodechar\global\xdef\rf{\the\lastnodefont}}%
4 \leavevmode\hbox to 5em{\hss \the\res}, \hbox to 10em{\tentt\meaning\rf\hss}%
5 \copy0\par}
6
7 \global\res=\lastnodechar\xdef\rf{\the\lastnodefont}\the\res. {\tentt \meaning\rf}
8
9 \ybaselineshift-10pt
10 \setbox0\vbox{\vskip10pt\global\res=\lastnodechar\global\xdef\rf{\the\lastnodefont}}%
11 \leavevmode\hbox to 5em{\hss \the\res}, \hbox to 10em{\tentt\meaning\rf\hss}%
12
13 \test{}
14 \test{a}
15 \test{ffi}
16 \test{漢)}
17 \test{漢字}
18 \hbox{\tate \test{漢字}}
19 \test{あ\kern-1pt}
20 \test{あ\hskip10pt}
21 \test{あ\/}
22
23
24 \bye