summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/fonts/cs-polta.tex
blob: 01d38d03de0f2e4f80462dae8d38870af1490c3a (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
% cs-polta.tex: fonts loading file of Antykwa Poltawskiego
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Petr Olsak,  2012

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

\message{FONT: Antykwa Poltawskiego -
  \string\rm,\string\it,\string\bf,\string\bi,%
  \string\lr,\string\li,\string\mr,\string\mi,%
  \string\caps\string\rm...}

\ifx\dgsize\undefined \def\dgsize{10}\fi

\font\tenrm=\tmp-antpr\dgsize  \space\sizespec
\font\tenbf=\tmp-antpb\dgsize  \space\sizespec
\font\tenit=\tmp-antpri\dgsize \space\sizespec
\font\tenbi=\tmp-antpbi\dgsize \space\sizespec

\font\tenlr=\tmp-antpl\dgsize  \space\sizespec  \def\lr{\tenlr}
\font\tenli=\tmp-antpli\dgsize \space\sizespec  \def\li{\tenli}
\font\tenmr=\tmp-antpm\dgsize  \space\sizespec  \def\mr{\tenmr}
\font\tenmi=\tmp-antpmi\dgsize \space\sizespec  \def\mi{\tenmi}

\font\tenrmc=\tmp-antpr\dgsize-sc  \sizespec
\font\tenbfc=\tmp-antpb\dgsize-sc  \sizespec
\font\tenitc=\tmp-antpri\dgsize-sc \sizespec
\font\tenbic=\tmp-antpbi\dgsize-sc \sizespec

\font\tenlrc=\tmp-antpl\dgsize-sc  \sizespec 
\font\tenlic=\tmp-antpli\dgsize-sc \sizespec
\font\tenmrc=\tmp-antpm\dgsize-sc  \sizespec
\font\tenmic=\tmp-antpmi\dgsize-sc \sizespec

\tenrm

% You can use \cap\rm, \cap\bf, \cap\li

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

\ifx\regfont\undefined \else
  \regfont\tenrm  \regfont\tenit
  \regfont\tenbf  \regfont\tenbi 
  \regfont\tenlr  \regfont\tenli
  \regfont\tenmr  \regfont\tenmi
  \regfont\tenrmc \regfont\tenitc
  \regfont\tenbfc \regfont\tenbic
  \regfont\tenlrc \regfont\tenlic
  \regfont\tenmrc \regfont\tenmic
\fi

\ifx\normalTXmath\undefined \input tx-math \else\normalTXmath \fi

\ifx\font\corkencoded \else \input chars-8z \fi

% end of cs-polta.tex