Files

22 lines
1.0 KiB
TeX

% Native sfcode is consumed by real character and inter-word glue construction.
\catcode123=1 \catcode125=2 \catcode35=6
\font\body=cmr10 \body
\hsize=240pt \parindent=0pt \baselineskip=12pt
\parfillskip=0pt plus1fil \parskip=6pt
\hbadness=10000 \vbadness=10000
\sfcode`\.=3000 \sfcode`\!=3000 \sfcode`\?=3000
\sfcode`\)=0 \sfcode`\]=0
Sentence spacing follows native character codes. Next sentence uses extra
space. An abbreviation A. keeps ordinary spacing. An end.) Next sentence
retains the previous factor through its closing parenthesis.\par
{\sfcode`\.=1000
Local codes use ordinary spacing. Next sentence stays in this local group.
The measured paragraph keeps these spaces after the group closes.\par}
Restored codes produce sentence spacing. Next sentence uses the restored
table without changing the preceding paragraph.\par
\xspaceskip=9pt plus1pt minus1pt
Explicit sentence glue is consumed here. Next sentence uses xspaceskip.
An abbreviation A. still uses the normal font space.\par
\message{Native sfcode construction completed.}
\end