Move fonts to own directory

This commit is contained in:
Marko Korhonen 2024-05-10 21:03:11 +03:00
parent 684fdbffcf
commit 7d9fd72925
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
7 changed files with 17 additions and 14 deletions

View file

@ -67,26 +67,29 @@
\RequirePackage[quiet]{fontspec}
\RequirePackage{unicode-math}
\defaultfontfeatures{Mapping=tex-text}
\newfontfamily\bodyfont
[BoldFont=texgyreheros-bold.otf,
ItalicFont=texgyreheros-italic.otf,
BoldItalicFont=texgyreheros-bolditalic.otf]
{texgyreheros-regular.otf}
\newfontfamily\thinfont[]{Lato-Light.ttf}
\newfontfamily\headingfont[]{texgyreheros-bold.otf}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont
[Mapping=tex-text, Color=textcolor,
[
Path=fonts/,
BoldFont=texgyreheros-bold.otf,
ItalicFont=texgyreheros-italic.otf,
BoldItalicFont=texgyreheros-bolditalic.otf
]
{texgyreheros-regular.otf}
]{texgyreheros-regular.otf}
\setmathfont{texgyreheros-regular.otf}
%%%
\newfontfamily\thinfont[Path=fonts/]{Lato-Light.ttf}
\newfontfamily\headingfont[Path=fonts/]{texgyreheros-bold.otf}
\setmainfont
[
Path=fonts/,
Mapping=tex-text, Color=textcolor,
BoldFont=texgyreheros-bold.otf,
ItalicFont=texgyreheros-italic.otf,
BoldItalicFont=texgyreheros-bolditalic.otf
]{texgyreheros-regular.otf}
\setmathfont[Path=fonts/]{texgyreheros-regular.otf}
%%%%%%%%%%
% Header %