diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-01 03:04:31 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-01 03:04:31 +0000 |
commit | c7ecdfe2e07e2e010de5e2a8d94c001c5dc9fc27 (patch) | |
tree | 80bdca45c628ce054648b8b6adc4c97d21bd48bb /macros/jptex/generic/ptex-base/ptex.tex | |
parent | 0d7064c66024537b237407f8b36413b055cf9a9a (diff) |
CTAN sync 202208010304
Diffstat (limited to 'macros/jptex/generic/ptex-base/ptex.tex')
-rw-r--r-- | macros/jptex/generic/ptex-base/ptex.tex | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/macros/jptex/generic/ptex-base/ptex.tex b/macros/jptex/generic/ptex-base/ptex.tex new file mode 100644 index 0000000000..b77d13f6ba --- /dev/null +++ b/macros/jptex/generic/ptex-base/ptex.tex @@ -0,0 +1,68 @@ +% This is the pTeX format (community edition) +% last update: texjporg 2017/10/18 +% +% (C)copyright ASCII corporation,1987,1995,1997 +% +\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=min10 % mincho(KANJI) +\font\preloaded=min9 +\font\preloaded=min8 +\font\sevenmin=min7 +\font\preloaded=min6 +\font\fivemin=min5 +% +\font\tengt=goth10 % gothic(KANJI) +\font\preloaded=goth9 +\font\preloaded=goth8 +\font\sevengt=goth7 +\font\preloaded=goth6 +\font\fivegt=goth5 +% +\font\tentmin=tmin10 % mincho(KANJI,tate) +\font\preloaded=tmin9 +\font\preloaded=tmin8 +\font\seventmin=tmin7 +\font\preloaded=tmin6 +\font\fivetmin=tmin5 +% +\font\tentgt=tgoth10 % gothic(KANJI,tate) +\font\preloaded=tgoth9 +\font\preloaded=tgoth8 +\font\seventgt=tgoth7 +\font\preloaded=tgoth6 +\font\fivetgt=tgoth5 +% +\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\else\fam\minfam\fi\tentmin\tenmin}% +\textfont\minfam=\tenmin\scriptfont\minfam=\sevenmin% +\scriptscriptfont\minfam=\fivemin +\textfont\tminfam=\tentmin\scriptfont\tminfam=\seventmin% +\scriptscriptfont\tminfam=\fivetmin +% +\def\gt{\iftdir\fam\tgtfam\else\fam\gtfam\fi\tentgt\tengt}% +\textfont\gtfam=\tengt\scriptfont\gtfam=\sevengt% +\scriptscriptfont\gtfam=\fivegt +\textfont\tgtfam=\tentgt\scriptfont\tgtfam=\seventgt% +\scriptscriptfont\tgtfam=\fivetgt +% +\input kinsoku +\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{ptex} +\edef\fmtversion{\fmtversion\space p1.0c} |