23 lines
705 B
TeX
23 lines
705 B
TeX
% Strict native demo, with INITEX categories and no preloaded format.
|
|
\catcode123=1 \catcode125=2 \catcode35=6
|
|
\defaulthyphenchar=45 \font\nativefont=cmr10 \nativefont \hsize=468pt \baselineskip=12pt \parfillskip=0pt plus1fil
|
|
\dimendef\width=300
|
|
\skipdef\flex=301
|
|
\muskipdef\mathspace=302
|
|
\width=2.5pt
|
|
\advance\width by1.25pt
|
|
\flex=1pt plus2fil minus.5pt
|
|
\mathspace=3mu plus1fil
|
|
\mathchardef\symbol=4660
|
|
Native width: \the\width.\par
|
|
Glue value: \the\flex.\par
|
|
Math glue value: \the\mathspace.\par
|
|
Math character code: \number\symbol.\par
|
|
Current input line: \the\inputlineno.\par
|
|
\ifdim\width>3pt
|
|
\message{Native quantity checks passed.}
|
|
\else
|
|
\errmessage{Native quantity comparison failed}
|
|
\fi
|
|
\end
|