LaTeX forum ⇒ Fonts & Character SetsTimes New Roman Topic is solved

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
mathselpi
Posts: 30
Joined: Wed Dec 31, 2008 4:50 pm

Times New Roman

Postby mathselpi » Wed Jan 26, 2011 2:13 pm

Hi,
I want to make my font setting Times New Roman in Latex. Can you help me, please.

Link:
BBcode:
HTML:
Hide post links
Show post links

josephwright
Site Moderator
Posts: 813
Joined: Tue Jul 01, 2008 2:19 pm
Contact:

Postby josephwright » Wed Jan 26, 2011 3:07 pm

  1. \usepackage{mathptmx}
Joseph Wright

Link:
BBcode:
HTML:
Hide post links
Show post links

mathselpi
Posts: 30
Joined: Wed Dec 31, 2008 4:50 pm

Postby mathselpi » Wed Jan 26, 2011 4:02 pm

Hi,
I tryed it but it didn't work.

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
Location: Amherst, MA

Postby frabjous » Wed Jan 26, 2011 4:25 pm

Please provide a minimal working example of what didn't work, and post also the .log file generated by the result.

You might also need to add:

  1. \usepackage[T1]{fontenc}


before the mathptmx line. There's also the txfonts package to try.

Link:
BBcode:
HTML:
Hide post links
Show post links

fazli
Posts: 3
Joined: Wed Feb 22, 2012 10:05 pm

Postby fazli » Thu Feb 23, 2012 12:00 am

Is \usepackage{mathptmx} consider as Times new Roman? I use the word
\usepackage{times}\renewcommand\rmdefault{stb} this is Times new roman, but no bold and italic. It also increases the pages. SO which one is appropriate for times new roman.

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
Stefan Kottwitz
Site Admin
Posts: 7803
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Thu Feb 23, 2012 9:36 am

Hi Fazli,

mathptmx is Times Roman. If you would like to read about the difference, see: Times Roman and Times New Roman

Another Times package is txfonts, an there's an extension txfontsb. All these font packages can be loaded by \usepackage.

Stefan
Site admin

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Feb 23, 2012 10:42 am

Strictly speaking these packages provide access to the font Nimbus Roman No9 L, which is very similar to Times New Roman.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Postby shadgrind » Thu Feb 23, 2012 8:58 pm

If you want the real Times New Roman then you could use XeTeX, assuming you have the TrueType real Times New Roman font installed for use by your operating system. For example:
  1. \documentclass{article}
  2. \usepackage[MnSymbol]{mathspec}
  3. \setallmainfonts{Times New Roman}
  4. \begin{document}
  5. This is \textbf{Times New Roman}.
  6.  
  7. Here is some nonsense \emph{math}:
  8.  
  9. \[
  10. \int_a^b \sin \pi x~dx = \sum_{n=0}^{\infty} \theta^n
  11. \]
  12. \end{document}

Then run xelatex on that *.tex file. That will make the text and math fonts Times New Roman, with MnSymbol used only for the math symbols (e.g. the integral and summation symbols). Without passing the MnSymbol option to the mathspec package the symbols would be in Computer Modern, which doesn't look that good with Times New Roman.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2

Link:
BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" />
HTML: Topic is solved</a>" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" />
Hide post links
Show post links

User avatar
Stefan Kottwitz
Site Admin
Posts: 7803
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Feb 24, 2012 11:47 am

shadgrind wrote:If you want the real Times New Roman then you could use XeTeX, assuming you have the TrueType real Times New Roman font installed


Very good addition!

By the way, in that case you should also enable TeX ligatures such as `` and '' for quoting glyphs and -- and --- for dashes, as I wrote in MLA style recommendation and quotation marks with XeLaTeX. Otherwise they would not work.

  1. \setallmainfonts[Ligatures=TeX]{Times New Roman}


Stefan
Site admin

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: No registered users and 2 guests