summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/uptex/uptex-base/uptex.tex
blob: 865218510699c173f327775f25bebe7dc0ff5514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
% This is the upTeX format (community edition)
%   last update: texjporg 2017/03/12
%
%    pTeX format file:
%       (C)copyright ASCII corporation,1987,1995,1997
%    and modified for upTeX
%
\input plain
\catcode`@=11 % at signs act like letters
\def\footnote#1{\let\@sf\empty % parameter #2 (the text) is read later
  \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\/\fi
  \nobreak#1\@sf\vfootnote{#1}}
\catcode`@=12 % at signs are no longer letters
%
\font\tenmin=upjisr-h % mincho(KANJI)
\font\sevenmin=upjisr-h at 7pt
\font\fivemin=upjisr-h at 5pt
%
\font\tengt=upjisg-h % gothic(KANJI)
\font\sevengt=upjisg-h at 7pt
\font\fivegt=upjisg-h at 5pt
%
\font\tentmin=upjisr-v % mincho(KANJI,tate)
\font\seventmin=upjisr-v at 7pt
\font\fivetmin=upjisr-v at 5pt
%
\font\tentgt=upjisg-v % gothic(KANJI,tate)
\font\seventgt=upjisg-v at 7pt
\font\fivetgt=upjisg-v at 5pt
%
\newfam\minfam % \min is family 8
\newfam\gtfam  % \gt is family 9
\newfam\tminfam % \tmin is family 10
\newfam\tgtfam  % \tgt is family 11
%
\def\mc{\iftdir\fam\tminfam\tentmin\else\fam\minfam\tenmin\fi}%
\textfont\minfam=\tenmin\scriptfont\minfam=\sevenmin%
\scriptscriptfont\minfam=\fivemin
\textfont\tminfam=\tentmin\scriptfont\tminfam=\seventmin%
\scriptscriptfont\tminfam=\fivetmin
%
\def\gt{\iftdir\fam\tgtfam\tentgt\else\fam\gtfam\tengt\fi}%
\textfont\gtfam=\tengt\scriptfont\gtfam=\sevengt%
\scriptscriptfont\gtfam=\fivegt
\textfont\tgtfam=\tentgt\scriptfont\tgtfam=\seventgt%
\scriptscriptfont\tgtfam=\fivetgt
%
\input ukinsoku
\mc		  % select mincho font
\kanjiskip=0pt plus .4pt minus .4pt
%\xkanjiskip=2.5pt plus 1pt minus 1pt
\xkanjiskip=.25zw plus 1pt minus 1pt
\autospacing\autoxspacing
\jcharwidowpenalty=500
%
% identifies the current format based on plain
\def\fmtname{uptex}
\edef\fmtversion{\fmtversion\space p1.0b_u00}