summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/baskervald/baskervald.sty
blob: d104cca143e355db47c7a73a330a0852e48d80ad (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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{baskervald}[2010/07/13 v1.0 baskervald]
\RequirePackage{xkeyval}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\RequirePackage{nfssext-cfr}
%:boolkey for alternative encoding as default
\define@boolkey{baskervald.sty}[baskervald@]{lig}[true]{%
	\relax}
%:defaults to ensure everything is defined to something
\ExecuteOptionsX{lig=false}
%:options override defaults
\ProcessOptionsX
%:make BaskervaldADF default roman font, implementing option for alternative encoding as applicable
\ifbaskervald@lig
	\renewcommand{\rmdefault}{ybvw}%
\else
	\renewcommand{\rmdefault}{ybv}%
\fi
\renewcommand{\rmdefault}{ybv}
\DeclareTextSymbol{\zeroslash}{TS1}{225}
\DeclareTextSymbolDefault{\zeroslash}{TS1}
\endinput
%% end baskervald.sty