blob: 2ea847c206b637d56bc3ecd813d5e29fd6e93a2b (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
% lmfonts.tex: loads Latin Modern fonts by plainTeX macros
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Petr Olsak, 2012
\message{FONT: Latin Modern fonts -
\string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm,... + math.}
\ifx\sizespec\undefined \def\sizespec{}\fi
\ifx\font\corkencoded\else \ifx\font\unicoded\else \input chars-8z \fi\fi
\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi
\ifx\font\unicoded \def\famname{lmroman10} \input unifam
\font\tentt="[lmmono10-regular]" \sizespec
\else
\font\tenrm=\tmp-lmr10 \sizespec
\font\tenbf=\tmp-lmbx10 \sizespec
\font\tenit=\tmp-lmri10 \sizespec
\font\tenbi=\tmp-lmbxi10 \sizespec
\font\tentt=\tmp-lmtt10 \sizespec
\font\tenrmc=\tmp-lmcsc10 \sizespec
\font\tenitc=\tmp-lmcsco10 \sizespec
\fi
\tenrm
\def\caps#1{{\escapechar=-1 \expandafter}%
\expandafter\csname\expandafter\tenonlytext\string#1c\endcsname}
\def\tenonlytext{ten}
\let\lmfonts=\font % macros can do test: \ifx\font\lmfonts ...
\ifx\loadmathfonts\relax \endinput \fi
\let\normalmathloading=\relax
\ifx\mathpreloaded A\else \input ams-math \fi
\ifx\font\corkencoded \def\tmp{rm}\else \def\tmp{cs}\fi
\def\exregtfm #1*{\edef\tmpa{#1*}\expandafter\regtfm\tmpa}
\exregtfm cmr 0 \tmp-lmr5 5.5 \tmp-lmr6 6.5 \tmp-lmr7 7.5 \tmp-lmr8 8.5
\tmp-lmr9 9.5 \tmp-lmr10 11.1 \tmp-lmr12 15 \tmp-lmr17 *
\exregtfm cmbx 0 \tmp-lmbx5 5.5 \tmp-lmbx6 6.5 \tmp-lmbx7 7.5 \tmp-lmbx8 8.5
\tmp-lmbx9 9.5 \tmp-lmbx10 11.1 \tmp-lmbx12 *
\exregtfm cmsl 0 \tmp-lmro8 8.5 \tmp-lmro9 9.5 \tmp-lmro10 11.1
\tmp-lmro12 15 \tmp-lmro17 *
\exregtfm cmtt 0 \tmp-lmtt8 8.5 \tmp-lmtt9 9.5 \tmp-lmtt10 11.1 \tmp-lmtt12 *
\exregtfm cmss 0 \tmp-lmss8 8.5 \tmp-lmss9 9.5 \tmp-lmss10 11.1 \tmp-lmss12 15
\tmp-lmss17 *
\exregtfm cmssi 0 \tmp-lmsso8 8.5 \tmp-lmsso9 9.5 \tmp-lmsso10 11.1
\tmp-lmsso12 15 \tmp-lmsso17 *
\exregtfm cmti 0 \tmp-lmri7 7.5 \tmp-lmri8 8.5 \tmp-lmri9 9.5
\tmp-lmri10 11.1 \tmp-lmri12 *
\exregtfm cmbxti 0 \tmp-lmbxi10 *
% CM math fonts
\regtfm cmmi 0 lmmi5 5.5 lmmi6 6.5 lmmi7 7.5 lmmi8 8.5 lmmi9 9.5
lmmi10 11.1 lmmi12 *
\regtfm cmmib 0 lmmib5 6 lmmib7 8.5 lmmib10 *
\regtfm cmsy 0 lmsy5 5.5 lmsy6 6.5 lmsy7 7.5 lmsy8 8.5 lmsy9 9.5
lmsy10 *
\regtfm cmbsy 0 lmbsy5 6 lmbsy7 8.5 lmbsy10 *
\regtfm cmex 0 lmex10 *
\regtfm cmexb 0 lmex10 *
% Fonts Other
\exregtfm bfsans 0 \tmp-lmssbx10 *
\exregtfm bisans 0 \tmp-lmssbo10 *
\exregtfm bbfsans 0 \tmp-lmssbx10 *
\exregtfm bbisans 0 \tmp-lmssbo10 *
\normalmath \let\normalmathloading=y
% end of lmfonts.tex
|