gmazzamuto / europasscv

Unofficial LaTeX class for the new version of the Europass curriculum vitae
116 stars 37 forks source link

TeX Gyre Heros: Necessary for compilation, unused for my CV #66

Open JimEBlevins opened 2 years ago

JimEBlevins commented 2 years ago

Great package.

Today I recompiled my CV and there were error messages about the fonts, which did not allow a successful compilation.

I needed to have TeX Gyre Heros on my computer, even though I was using another font. I downloaded the two TeX Gyre Heros files from a depository (and also from our Polish friends the .otf files for Heros), which solved the problem.

`\usepackage{luatexbase}

\usepackage{microtype}

\usepackage{luatextra}

\usepackage{luaotfload}

\usepackage{amsmath%,amsfonts }

\usepackage{fontspec}

\defaultfontfeatures[ \rmfamily,\sffamily,\ttfamily ]{Ligatures=TeX, Numbers=Lining, Scale=MatchLowercase }

\setmainfont{STIXTwoText}[ Extension = {.otf}, Scale = MatchLowercase, UprightFont = {-Regular}, BoldFont = {-SemiBold}, ItalicFont = {-Italic}, BoldItalicFont = {-SemiBoldItalic} ]

\usepackage[math-style=upright,bold-style=upright]{unicode-math}

\setmathfont{STIXTwoMath-Regular}[ Extension = {.otf}, Scale=MatchLowercase, bold-style = upright, math-style = TeX, partial = upright, ]`