0

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?

lockstep
  • 250,273
  • Welcome to TeX.sx! Your post was migrated here from [so]. 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 07 '13 at 20:59
  • 3
    What about \usepackage{math­ptmx}? – Werner Mar 07 '13 at 21:15
  • 3
    Or \usepackage{newtxtext}. And, if you want math, you can use \usepackage{newtxmath} (and if you have them installed \usepackage[lite]{mtpro2}). – Manuel Mar 07 '13 at 21:43
  • 1
    Have a look at either the tgtermes or the newtxtext package. – Silke Mar 07 '13 at 22:32
  • 2
    The file ptmr8z.vf is from the old version of cspsfonts package (from CSTeX). This is TimesRoman font in IL2 encoding. The CSpsfonts package was generally upgraded at October 2012, see http://math.feld.cvut.cz/olsak/cstex-e.html , the middle of this page. The most probably reason of this problem is that there exist files from old and new versions of this package mixed in the computer. The files include internal links from *.vf to *.tfm to r*.tfm etc. – wipet Mar 24 '15 at 10:36

1 Answers1

-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!

NG_
  • 105