File: cs-heuristica.tex

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (47 lines) | stat: -rw-r--r-- 1,497 bytes parent folder | download | duplicates (6)
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
% The file cs-heuristica.tex (C) Petr Olsak, 2016
% Use "\input cs-heruistica" to set the Heruistica font family in text mode

\ifx\ffdecl\undefined \input ff-mac \fi

\ffdecl [Heuristica] {\caps} {\rm \bf \it \bi \tt} {} {TX} {8t U}

\ffvars {Regular}{Bold}{Italic}{BoldItalic} 

\ismacro\fotenc{8t}\ifttrue

   \font\tenrm = Heuristica-Regular-tlf-t1  \sizespec
   \font\tenbf = Heuristica-Bold-tlf-t1  \sizespec
   \font\tenit = Heuristica-Italic-tlf-t1 \sizespec
   \font\tenbi = Heuristica-BoldItalic-tlf-t1 \sizespec
   \font\tentt = t1-zi4r-0 \sizespec % inconsolata

   \def\ffnamegen{Heuristica-\ffvarV\capsV-t1}

   \def\caps{\ffvars{Regular}{!}{!}{!}\ffsetV{caps}{-tosf-sc}\ffsetX}  
   \def\nocaps{\ffsetV{caps}{-tlf}\ffsetX}
   \nocaps\relax

\fi

\ismacro\fotenc{U}\iftrue

   \font\tenrm = "[Heuristica-Regular]:\fontfeatures"    \sizespec
   \font\tenbf = "[Heuristica-Bold]:\fontfeatures"       \sizespec
   \font\tenit = "[Heuristica-Italic]:\fontfeatures"     \sizespec
   \font\tenbi = "[Heuristica-BoldItalic]:\fontfeatures" \sizespec
   \font\tentt = "[Inconsolatazi4-Regular]:\fontfeatures" \sizespec

   \def\ffnamegen{"[Heuristica-\ffvarV]:\capsV\fontfeatures"} 

   \def\caps{\ffsetV{caps}{+smcp;+onum;}\ffsetX}
   \def\nocaps{\ffsetV{caps}{}\ffsetX}
   \nocaps\relax

\fi
\tenrm % don't remember to initialize the family with normal font.

\def\narrow{\cond\fam}

\ifx\loadmathfonts\relax \endinput \fi
\ifx\mathpreloaded X\else \input tx-math \fi