LaTeX Times New Roman for a portion of a ##\rm{\LaTeX}## document

  • Thread starter Thread starter brotherbobby
  • Start date Start date
  • Tags Tags
    Font Latex
Click For Summary
To use Times New Roman in a LaTeX document, the font code is {ptm}, which can be applied to specific text portions. Users can find a comprehensive list of LaTeX fonts and their codes on resources like Overleaf. Unlike MS Word, LaTeX does not allow for easy installation of fonts; if a desired font is not available, it cannot be used. The discussion highlights the need for specific font packages and codes to achieve the desired formatting. Overall, understanding LaTeX's font limitations is crucial for effective document preparation.
brotherbobby
Messages
750
Reaction score
169
TL;DR
Can a portion of a document in ##\rm{\LaTeX}## be converted into the well known ##\verb|Times New Roman|## font?
I am writing a document (article) in ##\rm{\LaTeX}##. Due to easier reading and differentianting a portion of the text from the rest, it is necessary for me to use some other font and I have chosen the ##\verb|Times New Roman|##. However, I don't know how to go about it.
Are there any packages? Is there a font code for the Times New Roman font that I'd need to specify for the portion in question?
Many thanks.
 
Physics news on Phys.org
If you are ok with Times, you can simply use
Code:
{\fontfamily{ptm}\selectfont
This text is typeset in Times.
}
 
Thank you at @DrClaude.

So the ##\rm{LaTeX}## font code for the ##\verb|Times|## font is {ptm}. One simply has to know it.

Do you know where can I find a list of fonts I can use in ##\rm{LaTeX}## with the font code?
 
Thank you @DrClaude. Actually, upon a bit of search, I found an even better catalogue of ##\rm{LaTeX}## fonts online : LaTeX Fonts .
I suppose a huge difference with ##\text{MSWord}^{\circledR}## is that over there I can install fonts on my computer (as .ttf or .otf) and just select them from the drop down menu when I type. In ##\rm{\LaTeX}## however, there's no such thing. If a font you want doesn't exist, you have to do without it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 16 ·
Replies
16
Views
30K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
12K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 6 ·
Replies
6
Views
42K
  • · Replies 3 ·
Replies
3
Views
2K