summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/cbookman.tex
blob: 08b34af5df98c82ab816fbd5e7375cbae1f96e6e (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
% The file cbookman.tex (C) Petr Olsak, 1996, 1999
% Use "\input cbookman" to set the Bookman fonts family in text mode
% The "\rm", "\it", "\tt" and "\bf" will work with the new fonts.
% Use "\setsimplemath" command to set Bookman fonts family in very
% simple math formulas (without greek letters).

\font\tenrm=pbkl8z  at 10pt
\font\tenbf=pbkd8z  at 10pt
\font\tenit=pbkli8z at 10pt
\font\tentt=pcrr8u  at 10pt
\let\tensl=\tenit
\tenrm
\def\setsimplemath{%
  \font\sevenrm pbkl8z  at7pt
  \font\fiverm  pbkl8z  at5pt
  \font\sevenit pbkli8z at7pt
  \font\fiveit  pbkli8z at5pt
  \font\sevenbf pbkd8z  at7pt 
  \font\fivebf  pbkd8z  at5pt
  \message{\string\setsimplemath\space WARNING:
     Greek symbols may be loss, see Missing char in .log!}
  \textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
  \textfont1=\tenit \scriptfont1=\sevenit \scriptscriptfont1=\fiveit
  \textfont\itfam=\tenit \scriptfont\itfam=\sevenit 
                         \scriptscriptfont\itfam=\fiveit
  \textfont\slfam=\tensl
  \textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf 
                         \scriptscriptfont\bffam=\fivebf
  \textfont\ttfam=\tentt }

% The \setsimplemath command sets the new family of fonts for math
% formulas. Cf. the usage of "2" (digit in text mode is in a new font) 
% but $-2$ is in Computer Modern if \setsimplemath is not used.
% WARNING: The \setsimplemath is usable for very siple math
% formulas only! It may crash some more complicated formulas because
% math symbols are still used from Computer Modern and all greek 
% symbols are missing in new fonts.