Is there any way to change main font to times new roman in Pdf Latex. I search over internet. And what I saw was how to change font with xelatex or lualatex, not pdflatex.
Asked
Active
Viewed 3.3k times
10
1 Answers
12
\usepackage{times} it works for me.
Update:
It is better to use \usepackage{mathptmx} because times is obsolete according CTAN:
The package is now obsolete, replaced by the mathptmx package, which supports Times Roman text and (mostly) matching mathematics.
-
3From CTAN's
timespackage page:The package is now obsolete, replaced by the mathptmx package, which supports Times Roman text and (mostly) matching mathematics.– Paul Gessler Apr 02 '14 at 19:13 -
1@PaulGessler great! I am using an old version of Ubuntu and I was using an old version of TexLive. I will update the answer. – omar Apr 02 '14 at 19:17
-
Unfortunately, mathptmx doesn't have
bold(italic) math fonts. To have bold mathfonts, one must usenewtxfontsor the commercialMath Times Pro2. – Bernard Apr 02 '14 at 20:51 -
1Sorry but I already change my font from default miktex font. But I forget the step. What I remember is I uncomment some line in a file under miktex directory. – Mohammad Fajar Apr 02 '14 at 20:56
-
Strange. I love the text to be in Times (as required by faculty) but the math stays in computer modern. mathptmx changes everything to Times... – Jim Raynor Feb 27 '15 at 16:48
-
3Apparently mathptmx is also obsolete. Now newtxtext is the one to go with it seems. – The V Feb 02 '17 at 19:22
\usepackage{newtxtext}to your document preamble. It won't be Times New Roman though, but a similarly looking version. – Werner Apr 02 '14 at 19:05\usepackage{times}(for pure text) or\usepackage{mathptmx}(for text and math font) will also work. – Mico Apr 02 '14 at 19:11\usepackage{newtxmath}for matching mathematical symbols if your document contains math. – Paul Gessler Apr 02 '14 at 19:12timesis deprecated and should not be used. See l2tabu. – cfr Apr 02 '14 at 19:29timespackage really does is to run\renewcommand{\rmdefault}{ptm}, and similar commands to set the sans serif default toHelveticaand the teletype default toCourier. As I tried to indicate in the initial comment, thetimespackage is OK if (and only if...) if the document is pure text, no math. – Mico Apr 02 '14 at 19:36timesis deprecated, but in my case I need only the text to be in Times, while the math still in CMR. How to do that with a non-obsolete package? – Jim Raynor Feb 27 '15 at 16:55