Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I'm trying to use Times New Roman Font in Latex - MiKTeX 2.9 with command

\usepackage{times}

but it said

pdfTex error (ptmr8z.vf): invalid character code

Any ideas or solutions?

share|improve this question

migrated from stackoverflow.com Mar 7 '13 at 20:58

This question came from our site for professional and enthusiast programmers.

marked as duplicate by doncherry, Werner, mafp, Kurt, Speravir Mar 8 '13 at 0:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Mar 7 '13 at 20:59
2  
What about \usepackage{math­ptmx}? –  Werner Mar 7 '13 at 21:15
2  
Or \usepackage{newtxtext}. And, if you want math, you can use \usepackage{newtxmath} (and if you have them installed \usepackage[lite]{mtpro2}). –  Manuel Mar 7 '13 at 21:43
    
Have a look at either the tgtermes or the newtxtext package. –  Silex Mar 7 '13 at 22:32

1 Answer 1

Instead using \usepackage{times}, for using Times font you can do:

%preambula here
\begin{document}
\usefont{T2A}{ftm}{m}{sl}
    Times New Roman?
\end{document}

Hope, it'll be helpful!

share|improve this answer
1  
it doesn't work for me : no such encoding as T2A. –  rcabane Mar 7 '13 at 22:33