summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/cs-bonum.tex
blob: 53dd6a465c16b318bdf2bc85b103438227cb36b8 (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
% The file cs-bonum.tex (C) Petr Olsak, 2012
% Use "\input cs-bonum" to set the Termes fonts family in text mode

\message{FONT: Bonum -
   \string\rm, \string\it, \string\bf, \string\bi, \string\caps\string\rm...}

\ifx\sizespec\undefined \def\sizespec{}\fi
\ifx\font\corkencoded \def\tmp{ec}\else \def\tmp{cs}\fi

\ifx\font\unicoded  \def\famname{texgyrebonum} \input unifam
\else

\font\tenrm=\tmp-qbkr  \sizespec
\font\tenbf=\tmp-qbkb  \sizespec
\font\tenit=\tmp-qbkri \sizespec
\font\tenbi=\tmp-qbkbi \sizespec

\font\tenrmc=\tmp-qbkr-sc  \sizespec
\font\tenbfc=\tmp-qbkb-sc  \sizespec
\font\tenitc=\tmp-qbkri-sc \sizespec
\font\tenbic=\tmp-qbkbi-sc \sizespec

\fi

\tenrm

\def\caps#1{{\escapechar=-1 \expandafter}%
  \expandafter\csname\expandafter\tenonlytext\string#1c\endcsname}
\def\tenonlytext{ten}

\ifx\font\corkencoded\else \ifx\font\unicoded\else \input chars-8z \fi\fi
\ifx\mathpreloaded X\else \input tx-math \fi                     

% end of cs-bonum.tex