18

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this template with command: lualatex cv_10.tex And I get:

: /home/lgadawski/.texmf-var/luatex-cache/generic/names/otfl-names.lua

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "HelveticaNeue" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.53 \newfontfamily\bodyfont[]{Helvetica Neue}

I have also trying to do this on Windows with MikTex with same result. I spent some hours but couldn't find explanation why is that and how could I properly compile it and built my own CV.

Regards!

Mensch
  • 65,388

4 Answers4

19

That template assumes you have obtained a license for Linotype's Neue Helvetica (€45 to €1500) and properly installed the font. If you haven't, try {Arial}, {TeX Gyre Heros}, or whatever you like, instead. Locate friggeri-cv.cls and modify the following lines (l. 53--58):

\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}
Nils L
  • 9,716
  • Thanks for answer Nils. Do U know some similar fonts like Helvetica UltraLight or Light? Becouse Arial unfortunately doesn't have such faces.. And another question is why on Windows with MikTex I can successfully compile it when I change lines that U adviced, but on Ubuntu I can't, and get the same error like erlier with Helvetica? Thanks Again! – Lukasz Gadawski May 12 '13 at 20:05
  • @LukaszGadawski -- A regular Ubuntu installation is unlikely to have Arial installed by default. Do you have such a font installed? (Try: fc-list | grep -i arial) Alternatively, did you try it with TeX Gyre Heros? I believe it can be installed with apt-get install tex-gyre. – jon May 13 '13 at 00:14
  • 2
    Perhaps a suitable free replacement font would be Source Sans Pro by Adobe. When I installed it, I got black, bold, semibold, regular, light, and extralight fonts, which should be able to replace the 'ultralight' and 'condensed bold' of Helvetica. – jon May 13 '13 at 00:19
  • @Jon -- Adobe Sans Pro is very nice, thank U. – Lukasz Gadawski May 14 '13 at 20:39
  • 1
    @Jon How did you guys install Adobe Sans Pro? I'm using Windows 7 and I don't find how to install this font. – Kalissar Nov 30 '13 at 12:10
  • @Kalissar -- I'm afraid the last version of Windows I used was XP, many years ago. What I remember from back then, was something like this: download the fonts in question; unpack the archive (the .zip file); copy the files to the 'fonts' (?) directory, which can be found in the 'control panel'. I wish I could be more help, but I imagine more precise advice can be found on the web for how to install new fonts in general (and thus, these ones as well). – jon Nov 30 '13 at 18:54
  • Source Sans is included in TeXLive. tlmgr install sourcesanspro. – Nils L Dec 01 '13 at 14:59
  • that said -- when using Lua/XeLaTeX, it's sufficient to just copy the .otf files from the zip file @jon mentioned to your global font directory (c:\windows\fonts or similar), same procedure as with any other font. No need to install that TeX package. – Nils L Dec 01 '13 at 15:12
  • @jon You have answered the question in the comments! Can you post Source Sans Pro as an answer and I'll upvote it? – LondonRob Aug 06 '14 at 13:35
3

Just for completeness: It is also possible to use the simplified version of the Friggeri CV from my github account. I modified the template so that it works with a regular Texlive installation and pdflatex, without the need for luatex and biber.

Edgar
  • 183
2

(As requested.)

One alternative might be Source Sans Pro by Adobe, which gave me the following fonts:

SourceSansPro-BlackIt.otf       SourceSansPro-It.otf
SourceSansPro-Black.otf         SourceSansPro-LightIt.otf
SourceSansPro-BoldIt.otf        SourceSansPro-Light.otf
SourceSansPro-Bold.otf          SourceSansPro-Regular.otf
SourceSansPro-ExtraLightIt.otf  SourceSansPro-SemiboldIt.otf
SourceSansPro-ExtraLight.otf    SourceSansPro-Semibold.otf

Which should include enough variations to replace the Helvetica-Neue fonts. I suppose you'd want to use the -Black.otf version for Condensed Bold, -ExtraLight.oft for the Ultralight, and so on.

In terms of installing them, under GNU/Linux, I simply added them to my ~/.fonts directory. On Windows, my comment suggested this might be accomplished by moving the files to the 'Fonts' folder in the 'Control Panel' --- but that is a hazy memory from Windows XP days. (Please correct me if I'm mistaken.) Macs must have a personal fonts folder, too, but as to where that might be....

But nowadays, you can install Source Sans Pro directly from CTAN, and then use (if so inclined) via \usepackage{sourcesanspro}. This is much easier in general, but I'd be inclined in this case to make the substitutions directly.

jon
  • 22,325
0

... so after installing Source Sans Pro,modify friggeri-cv.cls as follows:

\newfontfamily\bodyfont[]{SourceSansPro}
\newfontfamily\thinfont[]{SourceSansPro ExtraLight}
\newfontfamily\headingfont[]{SourceSansPro Black}

\defaultfontfeatures{Mapping=tex-text}
\setmainfont[Mapping=tex-text, Color=textcolor]{SourceSansPro Light}