<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%
% macro definitions for testfont
%

\tracinglostchars=0
\newcount\m \newcount\n \newcount\p \newdimen\dim

\def\startfont{\font\testfont=\fontname
%  \leftline{\sevenrm Test of \fontname\unskip\ on \today\ at \hours}
  \medskip
  \testfont \setbaselineskip
  \ifdim\fontdimen6\testfont&lt;10pt \rightskip=0pt plus 20pt
  \else\rightskip=0pt plus 2em \fi
  \spaceskip=\fontdimen2\testfont % space between words (\raggedright)
  \xspaceskip=\fontdimen2\testfont \advance\xspaceskip by\fontdimen7\testfont}

\def\setbaselineskip{\setbox0=\hbox{\n=0
\loop\char\n \ifnum \n&lt;255 \advance\n 1 \repeat}
\baselineskip=6pt \advance\baselineskip\ht0 \advance\baselineskip\dp0 }

\def\oct#1{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant
\def\hex#1{\hbox{\rm\H{}\tt#1}} % hexadecimal constant
\def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal
 \m=\n \divide\m by 64 \xdef\0{\the\m}%
 \multiply\m by-64 \advance\m by\n \divide\m by 8 \xdef\1{\the\m}}
\def\testrow{\setbox0=\hbox{\penalty 1\def\\{\char"\h}%
 \\0\\1\\2\\3\\4\\5\\6\\7\\8\\9\\A\\B\\C\\D\\E\\F%
 \global\p=\lastpenalty}} % \p=1 if none of the characters exist
\def\oddline{\cr
  \noalign{\nointerlineskip}
  \multispan{19}\hrulefill&amp;
  \setbox0=\hbox{\lower 2.3pt\hbox{\hex{\h x}}}\smash{\box0}\cr
  \noalign{\nointerlineskip}}
\newif\ifskipping
\def\evenline{\loop\skippingfalse
 \ifnum\n&lt;256 \m=\n \divide\m 16 \chardef\next=\m
 \expandafter\setdigs\meaning\next \testrow
 \ifnum\p=1 \skippingtrue \fi\fi
 \ifskipping \global\advance\n 16 \repeat
 \ifnum\n=256 \let\next=\endchart\else\let\next=\morechart\fi
 \next}
\def\morechart{\cr\noalign{\hrule\penalty5000}
 \chartline \oddline \m=\1 \advance\m 1 \xdef\1{\the\m}
 \chartline \evenline}
\def\chartline{&amp;\oct{\0\1x}&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;\:&amp;&amp;}
\def\chartstrut{\lower4.5pt\vbox to14pt{}}
\def\table{$$\global\n=0
  \halign to\hsize\bgroup
    \chartstrut##\tabskip0pt plus10pt&amp;
    &amp;\hfil##\hfil&amp;\vrule##\cr
    \lower6.5pt\null
    &amp;&amp;&amp;\oct0&amp;&amp;\oct1&amp;&amp;\oct2&amp;&amp;\oct3&amp;&amp;\oct4&amp;&amp;\oct5&amp;&amp;\oct6&amp;&amp;\oct7&amp;\evenline}
\def\endchart{\cr\noalign{\hrule}
  \raise11.5pt\null&amp;&amp;&amp;\hex 8&amp;&amp;\hex 9&amp;&amp;\hex A&amp;&amp;\hex B&amp;
  &amp;\hex C&amp;&amp;\hex D&amp;&amp;\hex E&amp;&amp;\hex F&amp;\cr\egroup$$\par}
\def\:{\setbox0=\hbox{\char\n}%
  \ifdim\ht0&gt;7.5pt\reposition
  \else\ifdim\dp0&gt;2.5pt\reposition\fi\fi
  \box0\global\advance\n 1 }
\def\reposition{\setbox0=\vbox{\kern2pt\box0}\dim=\dp0
  \advance\dim 2pt \dp0=\dim}
\def\centerlargechars{
  \def\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}}

%
% redefinition of space amount of list environment in jart10.sty
%

\def\@listI{\leftmargin\leftmargini \parsep 0pt \topsep 8pt plus 2pt minus 4pt
\itemsep 0pt}
\let\@listi\@listI
\@listi 
\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep 4pt plus 2pt minus 1pt
 \parsep 0pt
 \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
 \topsep 2pt plus 1pt minus 1pt
 \parsep \z@ \partopsep 0pt
 \itemsep \topsep}

\def\appendix{\par
 \setcounter{section}{0}
 \setcounter{subsection}{0}
 \def\thesection{付録}}

%
% other macros
%
\newcommand{\examplelabel}[1]{\mbox{#1}\hfil}
\newenvironment{example}[1]{%
  \begin{list}{}{%
    \let\makelabel\examplelabel
    \settowidth{\labelwidth}{#1}%
    \setlength{\labelsep}{1zw}%
    \settowidth{\leftmargin}{　#1　}}}%  ← #1の両側は全角スペース
  {\end{list}}
\def\_{\kern.04em\vbox{\hrule width.3em height .6pt}\kern.08em}

\font\manual=manfnt
\def\MF{{\manual META}\-{\manual FONT}}%     10pt

\def\tbs{{\tt\char'134}}
\def\tbracei{{\tt\char'173}}
\def\tbraceii{{\tt\char'175}}

</pre></body></html>