TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

\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

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

Your Answer


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