blob: 9c83728fe91ec1a16030c1c24ed238d63378bfb6 (
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
|
\ProvidesPackage{forum}[%
2020/07/25 (Bob Tennent) Supports Forum font for xeLaTeX and luaLaTeX. ]
\RequirePackage{iftex}
\ifpdftex
\PackageError{forum}{%
*****************************************\MessageBreak
Please process using XeLaTeX or luaLaTeX\MessageBreak
*****************************************}
\fi
\newcommand*{\Forum@scale}{1}
\RequirePackage{xkeyval}
\DeclareOptionX{scaled}{\renewcommand*{\Forum@scale}{#1}}
\DeclareOptionX{scale}{\renewcommand*{\Forum@scale}{#1}}
\ProcessOptionsX\relax
\RequirePackage{fontspec}
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
Extension = .ttf ,
}
\setmainfont
[ UprightFont = *-Regular ,
]
{Forum}
\newfontfamily\forum
[ UprightFont = *-Regular ,
]
{Forum}
% turn off defaults in case other fonts are selected:
\defaultfontfeatures{}
\endinput
|