diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/charissil/CharisSILCompact.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/charissil/CharisSILCompact.sty | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/charissil/CharisSILCompact.sty b/Master/texmf-dist/tex/latex/charissil/CharisSILCompact.sty new file mode 100644 index 00000000000..c3164ac6c80 --- /dev/null +++ b/Master/texmf-dist/tex/latex/charissil/CharisSILCompact.sty @@ -0,0 +1,45 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{CharisSILCompact} + [2021/08/19 (Bob Tennent) Style file for CharisSILCompact fonts.] + +\RequirePackage{iftex,xkeyval} + +\ifpdftex +\PackageError{charissilcompact}{% + **********************************\MessageBreak + Process using xelatex or lualatex\MessageBreak + **********************************} +\fi + + +\newcommand*{\CharisSILCompact@scale}{1} +\DeclareOptionX{scaled}{\renewcommand*{\CharisSILCompact@scale}{#1}} +\DeclareOptionX{scale}{\renewcommand*{\CharisSILCompact@scale}{#1}} + +\ProcessOptionsX\relax + +\RequirePackage{fontspec} + +\ifxetex\XeTeXtracingfonts=1\fi +\defaultfontfeatures{ + Ligatures = TeX , + Scale = \CharisSILCompact@scale , + Extension = .ttf } +\setmainfont + [ UprightFont = *-R, + ItalicFont = *-I, + BoldFont = *-B, + BoldItalicFont = *-B, + ] + {CharisSIL-LiteracyCompact} +\newfontfamily\CharisSILCompact + [ UprightFont = *-R, + ItalicFont = *-I, + BoldFont = *-B, + BoldItalicFont = *-B, + ] + {CharisSIL-LiteracyCompact} + +\defaultfontfeatures{} + +\endinput |