Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have to use a LaTeX style file that has the following:

% fonts for headings in Helvetica. Edit if you have no such fonts
\newfont{\helvix}{phvr at 9pt} % roman9
\newfont{\helvixb}{phvb at 9pt} % bold9
\newfont{\helvixo}{phvro at 9pt} % italic9
\newfont{\helvxviiib}{phvb at 18pt} % bold18

Unfortunately, on my setup (OS X + TeXShop), even after having copied the required TFM files to my working dir, I get the following errors:

mktexpk: don't know how to create bitmap font for phvr.
mktexpk: perhaps phvr is missing from the map file.

I'm assuming that getting the fonts installed properly etc. is going to be an involved process, so for now I'd like to just avoid that problem and get to writing. I tried replacing the "phvr" (and related) by the names given in the comments (roman9, etc.); this doesn't work either.

What could I put instead to get it working as fast as possible, while still respecting the basic typesetting options (helvixb must be in bold, etc.)?

share|improve this question

migrated from stackoverflow.com Apr 18 '11 at 20:01

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

\newfont is a quite obsolete command. Moreover you don't need only the tfm files to run pdflatex, but you have also to teach it where to find the actual fonts.

You get automatically the header fonts in Helvetica by saying


and write more simply \sffamily followed by a size specification: for example


where the old style says \helvix or


where the old style says \helvixb; for slanted use \slshape instead of \bfseries. Instead of \helvxviiib say


However I suggest a different font


which is very similar to Helvetica (on my system some letters with Helvetica come out misplaced). Notice the slight difference in the keyword for scaling. Adjust the number to suit your needs. The commands for choosing the font are exactly the same as before.

share|improve this answer
add comment

You could try the names phvr8t, phvb8t and phvro8t. But on the whole it is certainly better to avoid this \newfontdefinition and to adapt your script to nfss.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.