\NeedsTeXFormat{LaTeX2e} \ProvidesClass{cv_base}[2022/09/17 Custom CV Base Class] \LoadClass{article} % base setup \RequirePackage{microtype, hyperref, enumitem, amsmath} % 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} \newcommand{\latolight}{\fontspec[Path = fonts/]{Lato-Light}} \newcommand{\latoreg}{\fontspec[Path = fonts/]{Lato-Regular}} % 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}{PineGreen} % PineGreen \newcommand{\colorhi}[1]{\textit{#1}}