diff --git a/lectures/otagofonts.sty b/lectures/otagofonts.sty index e8d4715..db29eef 100644 --- a/lectures/otagofonts.sty +++ b/lectures/otagofonts.sty @@ -1,4 +1,4 @@ -\def\filedate{20 January 2023} +\def\filedate{2 May 2024} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Set up official Otago fonts based on what’s available. Fall back to close @@ -10,11 +10,12 @@ % v1.0 Initial version, rebuilt from deprecated lecturecommon package. % v1.1 Refactored font checking mechanism. % v1.2 Fixed sans-serif scaling, added Noto Sans. +% v1.3 Added new Wickliffe fonts and fallbacks. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[2001/06/01] -\ProvidesPackage{otagofonts}[2023/01/20 Otago standard fonts v1.2] +\ProvidesPackage{otagofonts}[2024/05/02 Otago standard fonts v1.3] \RequirePackage{etoolbox} @@ -60,7 +61,7 @@ }{}% } -\docsvlist{Minion Pro,Crimson Pro,Crimson Text,Times New Roman} +\docsvlist{Wickliffe,Minion Pro,Crimson Pro,Crimson Text,Georgia,Times New Roman} \ifbool{foundprimaryfont}{% % Hack to prevent digits in hyperlinks from being set in the main font instead of the mono font. @@ -95,6 +96,7 @@ \PackageInfo{otagofonts}{Looking for suitable sans-serif font} % font-specific defaults +\defaultfontfeatures[Wickliffe Sans Light]{BoldFont={Wickliffe Sans}} \defaultfontfeatures[Open Sans Light]{BoldFont={Open Sans}} \defaultfontfeatures[Noto Sans Light]{BoldFont={Noto Sans}} \defaultfontfeatures[Roboto Light]{BoldFont={Roboto}} @@ -113,7 +115,7 @@ }{}% } -\docsvlist{Open Sans Light,Noto Sans Light,Roboto Light,Arial} +\docsvlist{Wickliffe Sans Light,Open Sans Light,Noto Sans Light,Roboto Light,Arial} \ifbool{foundsansfont}{}{% \PackageWarning{otagofonts}{Could not find any suitable sans-serif font.\MessageBreak%