Move fonts to own directory
This commit is contained in:
parent
684fdbffcf
commit
7d9fd72925
7 changed files with 17 additions and 14 deletions
|
@ -67,26 +67,29 @@
|
||||||
|
|
||||||
\RequirePackage[quiet]{fontspec}
|
\RequirePackage[quiet]{fontspec}
|
||||||
\RequirePackage{unicode-math}
|
\RequirePackage{unicode-math}
|
||||||
|
\defaultfontfeatures{Mapping=tex-text}
|
||||||
|
|
||||||
\newfontfamily\bodyfont
|
\newfontfamily\bodyfont
|
||||||
[BoldFont=texgyreheros-bold.otf,
|
[
|
||||||
ItalicFont=texgyreheros-italic.otf,
|
Path=fonts/,
|
||||||
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,
|
|
||||||
BoldFont=texgyreheros-bold.otf,
|
BoldFont=texgyreheros-bold.otf,
|
||||||
ItalicFont=texgyreheros-italic.otf,
|
ItalicFont=texgyreheros-italic.otf,
|
||||||
BoldItalicFont=texgyreheros-bolditalic.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 %
|
% Header %
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue