I have TeXLive 2011 installed.

My document looks like this:





\address{street}{postcode city}
\extrainfo{additional info}·
% '64pt' is the height the picture must be resized to, 0.4pt is the thickness of
% the frame around it (put it to 0pt for no frame) and 'picture' is the name of
% the picture file.


%  Extension=.otf,
%  UprightFont=*-Regular,
%  BoldFont=*-Bold,
%  ItalicFont=*-It,
%  BoldItalicFont=*-BoldIt,
%  Extension=.otf,
%  UprightFont=*-Regular,
%  BoldFont=*-Bold,
%  ItalicFont=*-It,
%  BoldItalicFont=*-BoldIt,

\setmainfont{Minion Pro}
\setsansfont{Myriad Pro}


\tlcventry[orange]{2001}{0}{Administration}{COMPANY}{City}{}{Short Description%
\item Item One 
  \item Item Two 

\section{Foreign Languages}
\cvitemwithcomment{English}{Fluent}{Some description here}


If I compile this, I'm getting a warning like this:

LaTeX Font Warning: Font shape `EU1/MyriadPro(0)/m/sl' undefined
(Font)              using `EU1/MyriadPro(0)/m/n' instead on input line 58.

And in \tlcventry "COMPANY" is not italicized (I mean it should be treated like text with \textit or \emph - by default \tlcventry makes field #4 italicized).

A little preview of how it looks:

  • Bug in fontspec not defining an sl shape (regression though, this used to word), fixed in the repository a while ago, but not uploaded to CTAN yet. – Khaled Hosny Apr 27 '12 at 3:39

The Myriad Pro font doesn't have a slanted form and fontspec seems not to be able to substitute italic automatically, so you can help it by saying

\setsansfont[SlantedFont=* Italic]{Myriad Pro}
  • Thanks a bunch for that, egreg. Didn't know about this. Now output seems to be as elegant as it can only be. – Teddy Apr 1 '12 at 23:02
  • @Teddy I've discovered it because of your question. :) Please read the FAQ about what to do when an answer solves your problem. – egreg Apr 1 '12 at 23:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.