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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
%%
%% This is file `minijs.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% jsclasses.dtx (with options: `minijs')
%%
%% Maintained on GitHub: https://github.com/texjporg/jsclasses
%%
\ifx\epTeXinputencoding\undefined\else
\epTeXinputencoding utf8 % ^^A added (2017-10-04)
\fi
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{minijs}
[2020/10/05 jsclasses (okumura, texjporg)]
%% if jsclasses loaded, abort loading this package
\ifx\@jsc@uplatextrue\@undefined\else
\PackageInfo{minijs}{jsclasses does not need minijs, exiting}
\expandafter\endinput
\fi
%% "fake" jsarticle
\expandafter\def\csname ver@jsarticle.cls\endcsname{}
%% min/goth -> jis/jisg (for pLaTeX only)
\ifx\ucs\@undefined
\@for\@tempa:=5,6,7,8,9,10,10.95,12,14.4,17.28,20.74,24.88\do{%
\expandafter\let\csname JY1/mc/m/n/\@tempa\endcsname\relax
\expandafter\let\csname JY1/gt/m/n/\@tempa\endcsname\relax
\expandafter\let\csname JT1/mc/m/n/\@tempa\endcsname\relax
\expandafter\let\csname JT1/gt/m/n/\@tempa\endcsname\relax
}
\def\Cjascale{0.924690}
\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] jis}{}
\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] jisg}{}
\DeclareFontShape{JT1}{mc}{m}{n}{<-> s * [0.961] tmin10}{}
\DeclareFontShape{JT1}{gt}{m}{n}{<-> s * [0.961] tgoth10}{}
\fi
%% ad-hoc "relation font"
\@ifl@t@r\fmtversion{2020/10/01}
{\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
\ifjsc@needsp@tch % --- for 2020-02-02 or older BEGIN
\ifx\@rmfamilyhook\@undefined % old
\DeclareRobustCommand\rmfamily
{\not@math@alphabet\rmfamily\mathrm
\romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
\DeclareRobustCommand\sffamily
{\not@math@alphabet\sffamily\mathsf
\romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
\DeclareRobustCommand\ttfamily
{\not@math@alphabet\ttfamily\mathtt
\romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
\AtBeginDocument{%
\ifx\mweights@init\@undefined\else % mweights.sty is loaded
% my definitions above should have been overwritten, recover it!
% \selectfont is executed twice but I don't care about speed...
\expandafter\g@addto@macro\csname rmfamily \endcsname
{\kanjifamily\mcdefault\selectfont}%
\expandafter\g@addto@macro\csname sffamily \endcsname
{\kanjifamily\gtdefault\selectfont}%
\expandafter\g@addto@macro\csname ttfamily \endcsname
{\kanjifamily\gtdefault\selectfont}%
\fi}
\else % 2020-02-02
\g@addto@macro\@rmfamilyhook
{\prepare@family@series@update@kanji{mc}\mcdefault}
\g@addto@macro\@sffamilyhook
{\prepare@family@series@update@kanji{gt}\gtdefault}
\g@addto@macro\@ttfamilyhook
{\prepare@family@series@update@kanji{gt}\gtdefault}
\fi
\else % --- for 2020-02-02 or older END & for 2020-10-01 BEGIN
\AddToHook{rmfamily}%
{\prepare@family@series@update@kanji{mc}\mcdefault}
\AddToHook{sffamily}%
{\prepare@family@series@update@kanji{gt}\gtdefault}
\AddToHook{ttfamily}%
{\prepare@family@series@update@kanji{gt}\gtdefault}
\fi % --- for 2020-10-01 END
%% \@setfontsize with \parindent and \(x)kanjiskip settings
\def\@setfontsize#1#2#3{%
\@nomath#1%
\ifx\protect\@typeset@protect
\let\@currsize#1%
\fi
\fontsize{#2}{#3}\selectfont
\ifdim\parindent>\z@
\parindent=1zw
\fi
\kanjiskip=0zw plus .1zw minus .01zw
\xkanjiskip=0.25em plus 0.15em minus 0.06em
}
%% initialize
\normalsize
\endinput
%%
%% End of file `minijs.sty'.
|