Skip to content
Snippets Groups Projects
Commit 072664ce authored by John Swinbank's avatar John Swinbank
Browse files

ESCAPE template defaults to sans fonts

parent 5c9a09ab
No related branches found
No related tags found
1 merge request!32ESCAPE template defaults to sans fonts
...@@ -81,15 +81,15 @@ ...@@ -81,15 +81,15 @@
\input{common} \input{common}
% Default font for ESCAPE documents is Calibri % Default font for ESCAPE documents is Calibri
% But if we can't find it (e.g. in CI), don't worry about it % But if we can't find it (e.g. in CI), fall back to Arial (if available)
% Attempt to cache the results of the font check; it is very slow % Attempt to cache the results of the font check; it is very slow
\newcommand{\useCalibri}{}
\IfFontExistsTF{Calibri}{\renewcommand{\useCalibri}{\setmainfont{Calibri}}}{}
\newcommand{\useArial}{} \newcommand{\useArial}{}
\IfFontExistsTF{Arial}{\renewcommand{\useArial}{\setmainfont{Arial}}}{} \IfFontExistsTF{Arial}{\renewcommand{\useArial}{\setsansfont{Arial}}}{}
\newcommand{\useCalibri}{}
\IfFontExistsTF{Calibri}{\renewcommand{\useCalibri}{\setsansfont{Calibri}}}{\useArial}
\renewcommand{\familydefault}{\sfdefault}
\useCalibri \useCalibri
% %
% Define headers and footers % Define headers and footers
% %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment