I'm a beginner on LaTeX and I've been spending too much time on that small issue that I can't give up. That's pretty basic I guess, but I can't manage to find the accurate instruction despite hours of trying.
I want to create my own CV from this template : https://www.latextemplates.com/template ... s-resumecv
What I want to do is to remove the original font of the template by a local font of my computer, let's say the "Ubuntu" font.
I understand XeLaTex is needed. I installed it. Now if in a TexMaker blank file I type :
Code: Select all
\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{lipsum}
\XeTeXdefaultencoding utf-8
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Ubuntu}
\begin{document}
\section{Custom fonts}
\lipsum[1]
\end{document}
I then get a file with the Ubuntu font. However there is no way to get this Ubuntu font on that CV, in the .tex file. "setmainfont" doesn't work, "renewfamilykinda" neither.
I guess instructions should be written in the class file .cls of the CV, but everything I tried did not work.
Please, help me
