diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2014-03-05 01:49:41 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-03-05 03:26:18 +0100 |
commit | 2dd0a0dd755790af8cb64399c266d360d9f0d592 (patch) | |
tree | 5934464e03877c0f1ef7209798dc9a3d3bcf01b0 /friggeri-cv.cls | |
parent | 2d92fcd7bfb92ea476f7327302caf1c44f23f758 (diff) |
use the font "Lato" instead of Helvetica
since I cannot find a free version of the Helvetica font, we use Lato
as Karol Koziot did in patch.
Diffstat (limited to 'friggeri-cv.cls')
-rw-r--r-- | friggeri-cv.cls | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/friggeri-cv.cls b/friggeri-cv.cls index 12712c7..e20cb6a 100644 --- a/friggeri-cv.cls +++ b/friggeri-cv.cls @@ -46,17 +46,42 @@ % Fonts % %%%%%%%%% +% \RequirePackage[quiet]{fontspec} +% \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} +% +% \newfontfamily\bodyfont[]{Helvetica Neue} +% \newfontfamily\thinfont[]{Helvetica Neue UltraLight} +% \newfontfamily\headingfont[]{Helvetica Neue Condensed Bold} +% +% \defaultfontfeatures{Mapping=tex-text} +% \setmainfont[Mapping=tex-text, Color=textcolor]{Helvetica Neue Light} +% +% \setmathfont{XITS Math} + +%%% modified by Karol KozioĊ for ShareLaTex use \RequirePackage[quiet]{fontspec} \RequirePackage[math-style=TeX,vargreek-shape=unicode]{unicode-math} -\newfontfamily\bodyfont[]{Helvetica Neue} -\newfontfamily\thinfont[]{Helvetica Neue UltraLight} -\newfontfamily\headingfont[]{Helvetica Neue Condensed Bold} +\newfontfamily\bodyfont +[BoldFont=texgyreheros-bold.otf, +ItalicFont=texgyreheros-italic.otf, +BoldItalicFont=texgyreheros-bolditalic.otf] +{texgyreheros-regular.otf} +\newfontfamily\thinfont[]{Lato-Hairline.ttf} +\newfontfamily\headingfont[]{texgyreheros-bold.otf} \defaultfontfeatures{Mapping=tex-text} -\setmainfont[Mapping=tex-text, Color=textcolor]{Helvetica Neue Light} +\setmainfont +[Mapping=tex-text, Color=textcolor, +BoldFont=texgyreheros-bold.otf, +ItalicFont=texgyreheros-italic.otf, +BoldItalicFont=texgyreheros-bolditalic.otf +] +{texgyreheros-regular.otf} + +\setmathfont{texgyreheros-regular.otf} +%%% -\setmathfont{XITS Math} %%%%%%%%%% % Header % |