Fonts & Character SetsHow use Adobe Times Roman small caps in LaTeX?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

I have .pfb files (and .pfm) for Adobe Times Roman Small Caps and Times Roman Bold Small Caps. How do I go about using these in LaTeX (with Times)?

In particular, where would I find the needed .tfm and .map files?

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

How use Adobe Times Roman small caps in LaTeX?

Post by kaiserkarl13 »

Most TeX distributions come with Times fonts automatically. Simply use \usepackage{times} if you want Times for the text. If you want your math symbols to also be Times-like, use either

Code: Select all

\usepackage{txfonts}
OR

Code: Select all

\usepackage{times,mathptmx}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

How use Adobe Times Roman small caps in LaTeX?

Post by Stefan Kottwitz »

Very good advice! I can confirm that all mentioned Times packages support small caps and bold small caps.

If you use mathptmx, I think loading also times is note required for getting also the text font in Times.

Stefan
LaTeX.org admin
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

kaiserkarl13 wrote:Most TeX distributions come with Times fonts automatically. Simply use \usepackage{times} if you want Times for the text. If you want your math symbols to also be Times-like, use either

Code: Select all

\usepackage{txfonts}
OR

Code: Select all

\usepackage{times,mathptmx}
Can you just point me to which .tfm gives the metrics for the genuine Adobe Times Roman Small Caps type1 font?

Also, is there not anything I need to do with respect to .map files to be sure I'm using the actual Adobe type1 font for the small caps? (Rather than just cause regular upper-case Times to be shrunk for small caps.)

P.S. I'll use PC TeX's MathTime Pro 2 fonts for math to match type 1 Times for text.
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: How use Adobe Times Roman small caps in LaTeX?

Post by kaiserkarl13 »

My distribution has them under $TEXMF/fonts/type1/public/txfonts. The small caps fonts are rtxbsc.pfb, rtxsc.pfb, t1xbttsc.pfb, txbttsc.pfb, rtxbsssc.pfb, rtxsssc.pfb, t1xttsc.pfb, txttsc.pfb. There are similar files for Palatino under $TEXMF/fonts/type1/public/pxfonts.

The ones loaded by the Times package are in $TEXMF/fonts/type1/urw/times, if I'm not mistaken. I'm not sure whether there's a separate file for the small caps fonts, or even if those are the right files; I'm not a typeface expert.

Why you would need to find the actual font files is another topic entirely.
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

kaiserkarl13 wrote:My distribution has them under $TEXMF/fonts/type1/public/txfonts. The small caps fonts are rtxbsc.pfb, rtxsc.pfb, t1xbttsc.pfb, txbttsc.pfb, rtxbsssc.pfb, rtxsssc.pfb, t1xttsc.pfb, txttsc.pfb. There are similar files for Palatino under $TEXMF/fonts/type1/public/pxfonts.

The ones loaded by the Times package are in $TEXMF/fonts/type1/urw/times, if I'm not mistaken. I'm not sure whether there's a separate file for the small caps fonts, or even if those are the right files; I'm not a typeface expert.

Why you would need to find the actual font files is another topic entirely.
Because evidently those .pfb files are not actual Adobe Times Roman Small Caps fonts--which are proprietary and hence would not be distributed as part of TeXLive.

That's why I was asking specifically about supporting Adobe Times Roman Small Caps fonts in LaTeX. How do I get them in a document instead of some substitute?
mdpugh
Posts: 1
Joined: Sat Jul 19, 2014 10:09 pm

Re: How use Adobe Times Roman small caps in LaTeX?

Post by mdpugh »

This is old, I know, but I've run up against the same issue. You need ptmrc8a (initially tirsc___) and pfmb8a (initially tibsc___) in .pfb and .pfm formats. See fontinstallationguide.pdf, fontname.pdf, fontinst.pdf, fontenc.pdf to fill in the blanks. It's a lot to read through to find what you need to do, but unless you have some special use case, it's relatively straight-forward.
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

I renamed tirsc___.pfb and tirsc___.pfm to ptmrc8a.pfb and ptmrc8a.pfm; and renamed tibsc___.pfb and tibsc___.pfm to pfmb8a.pfb and pfmb8a.pfm.

The next step, according to fontinstallationguide.pdf, would see to be to tex driver files such as:

Code: Select all

\input fontinst.sty
\needsfontinstversion{1.926}
\recordtransforms{pfm-rec.tex}
\latinfamily{pfm}{}
\endrecordtransforms
\bye 
However, I have .pfm files and not the .pfa files that fontinstallationguide.pdf indicates are used. In any case, texing the driver file, while it creates .fd files, does *not* produce and *.pl or *.vpl file, and the file pfm-rec.tex is blank after the process.

How to proceed?
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

Re: How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

Apparently the problem was that I didn't have the needed .afm text-version metric fonts, just the binary .pfm versions. But I found the .afm files on-line, and now the processing of the driver file does produce *.pl and *.vpl output files.

I just hope the .afm files I located are the correct text precursors for the actual .pfb files I have.

I did find some pfm-to-afm converters, of unclear value: One, on-line, produces defective tar.gz results; the other is an old utility on CTAN whose author claims it's primitive and may not function as really desired.
murraye
Posts: 34
Joined: Sat Aug 15, 2009 6:25 pm

How use Adobe Times Roman small caps in LaTeX?

Post by murraye »

Having the downloaded .afm files in hand, too, I finally went through the entire process described in font installationguide.pdf. (That includes running the appropriate updmap commands with TeXLive 2014).

Unfortunately, I cannot get the Adobe Times Roman SmallCaps font to work in LaTeX. For example:

Code: Select all

\documentclass{article}
\renewcommand{\rmdefault}{ptm}
\pagestyle{empty}
\begin{document}
\textsc{Small caps}
\end{document}
When run through pdfLaTeX, the log includes warning:

Code: Select all

(/Volumes/MacHD/Users/murray/Library/texmf/tex/latex/timesSC/ot1ptm.fd)

LaTeX Font Warning: Font shape `OT1/ptm/m/n' undefined
(Font)              using `OT1/cmr/m/n' instead on input line 8.

[1{/Volumes/MacHD/Users/murray/Library/texlive/2014/texmf-var/fonts/map/pdftex/
updmap/pdftex.map}] (./testTimesSC.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

 ){/usr/local/texlive/2014/texmf-dist/fonts/enc/dvips/base/8r.enc}</Volumes/Mac
HD/Users/murray/Library/texmf/fonts/type1/adobe/timesSC/ptmrc8a.pfb>
So it seems I'm getting the small caps from Computer Modern!
Post Reply