\NeedsTeXFormat{LaTeX2e} \ProvidesClass{cv_base}[2022/09/17 Custom CV Base Class] \LoadClass{article} % base setup \RequirePackage{microtype, hyperref, fancyhdr, enumitem, amsmath} % DejaVuSans font %\RequirePackage[scaled=0.825]{Lato} %\renewcommand*\familydefault{\sfdefault} % Set main fonts \usepackage{fontspec} \setmainfont[Color=2b2b2b, Path = fonts/,BoldItalicFont=Lato-Italic,BoldFont=Lato-Regular,ItalicFont=Lato-LightItalic]{Lato-Light} \setsansfont[Scale=MatchLowercase,Ligatures=TeX, Path = fonts/]{DejaVuSans-ExtraLight} % link styling and helpers \RequirePackage[dvipsnames]{xcolor} \hypersetup{colorlinks=true, linkcolor=RoyalBlue, urlcolor=RoyalBlue} \newcommand{\linkwithfooter}[2]{\href{#2}{#1}\footnote{\href{#2}{#2}}} \newcommand{\footerlink}[1]{\footnote{\href{#1}{#1}}} % highlight color \definecolor{hicolorcode}{RGB}{178, 79, 61} \newcommand{\hicolor}{Sepia} % PineGreen \newcommand{\colorhi}[1]{\textit{#1}}