Files
ally/making-of/includes/font.tex
Madison Scott-Clary 993de1a5be more making-of
2020-05-01 15:59:34 -07:00

24 lines
784 B
TeX

%%% Font
% Uncomment and modify to your font specs
\usepackage{fontspec}
\setmainfont{Gentium Book Basic}
\newfontfamily\allyFont{Merriweather Sans}[Scale=0.9,Color=444444FF,Ligatures=TeX]
\newfontfamily\TitleFamily{Inknut Antiqua}
\newfontface\TitleFont{Inknut Antiqua}
\newfontfamily\pagenumfont{Gentium Book Basic}
\newfontfamily\MonoFont{Ubuntu Mono}
\renewcommand{\ttfamily}{\MonoFont}
\makeatletter
\def\verbatim@font{\MonoFont}
\makeatother
\newcommand\allyWord{\emph{\allyFont ally}}
\newcommand\allyId{\emph{\allyFont ally.id}}
\makeatletter
\let\oldfootnoterule\footnoterule
\renewcommand{\foottextfont}{\pagenumfont\footnotesize}
\renewcommand*{\@makefnmark}{\hbox{\pagenumfont\textsuperscript{\@thefnmark}}}
\footmarkstyle{\pagenumfont\textsuperscript{#1}}
\makeatother