Text FormattingTimes New Roman font in XeTeX doesn't have smallcaps?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
senator
Posts: 1
Joined: Wed Jun 06, 2018 4:23 am

Times New Roman font in XeTeX doesn't have smallcaps?

Post by senator »

Hi all,

I am recently writing an IEEE conference paper, using the IEEEtran class. As you may all know, in an IEEEtran paper, the section titles are typeset in "SmallCaps" face. It used to have no problem at all until yesterday I tried to use XeTeX.

I wanted to use XeTeX because I wanted to use the Times New Roman truetype font provided in Windows. Only XeTeX can use OS fonts. I was successful in using XeTeX except for one thing: The section titles are no longer in SmallCaps, but in ordinary roman! I think every font does not provide smallcaps directly. It is simply a lower-case to upper-case conversion and font size reduction combined. So there should be no difficulty for XeTeX to provide such functionality for the Times New Roman font.

The only two lines that I invoke special packages for XeTeX are the following:

Code: Select all

\usepackage{mathspec}
\setallmainfonts(Digits,Latin){Times New Roman}
The first line loads the mathspec package, which loads fontspec automatically. The second line says that we want the Times New Roman font for all text and math. This font is provided by Windows.

I want a solution. So, I am wondering if someone can point me to, or simply write himself, a package that implements the smallcaps of Times New Roman (or for general fonts). Thank you very much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Times New Roman font in XeTeX doesn't have smallcaps?

Post by Stefan Kottwitz »

Hi,

did you find a solution? I simply think, if those conference proceedings use small caps, but it's not working with Times New Roman and XeTeX, the proceedings would not use XeTeX or Times New Roman anyway, otherwise they would have the same issue. And I assume they won't have one paper in a font different than the others, and they won't compile with XeTeX instead of pdfLaTeX just for one paper if they don't do in general.

Stefan
LaTeX.org admin
Post Reply