TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Led editor in Windows 7. I want to use Times font but the output pdf fonts are somewhat different.

Here are the codes for Times font


and I copy the winfonts.sty in the same directory. What may cause this problem or am I doing something wrong?

share|improve this question
why don't you simply use \usepackage{mathptmx} or \usepackage{times}? – Herbert Aug 9 '11 at 11:47
Copying winfonts.sty is not enough. What have you done with the other files? And did you add \pdfmapfile{=winfonts.map} to your document? – Ulrike Fischer Aug 9 '11 at 12:06

Copying the .sty file is not enough to install this package. You should follow the steps described in the package README file.

If you only need a font that looks like Times, consider using


The times package is deprecated and should not be used.

Another way to get the real Times New Roman font is to use XeLaTeX or LuaLaTeX with the fontspec package:



\setmainfont[Ligatures=TeX]{Times New Roman}


Hello World


(Compile with xelatex or lualatex. If you choose this route, see this or this question for a start.)

share|improve this answer
times is deprecated if you want to use math fonts, too. – Herbert Aug 9 '11 at 12:40
@Herbert: Well, the CTAN page for times says so. Not that anything relevant is mentioned in psnfss documentation. – Andrey Vihrov Aug 10 '11 at 15:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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