I'm trying to insert one font from txfont package in my plain TeX file, but I cannot understand some aspects of this font distribution.

The font I would use is the txmi1; so, how can TeX use this font? The distribution gives only its tfm file, and there is no pfb file related to it. The only pfb files I can use are the txmia and rtxmi ones, in which the slots for the lowercase letters (a,b,...,z) are empty. Thus, even if I write the simpliest line \font\aaa=txmi1 and then, for istance, {\aaa fghi}, the output is empty.

The documentation of the txfont package (page 28 in the a4 form) shows how the txmi1 exists and in LaTeX can be used, but I cannot understand how to use it in plain TeX.

  • I have to add an important note: TeX gives no output, and dvips gives an error too, but if I compile with pdftex no errors appear, and even the font is shown. – Martino Jul 14 '15 at 14:42
  • If you get errors you should place the exact errors from the log in a {} block in the question. – David Carlisle Jul 14 '15 at 14:55

It's a virtual font (.vf) but should work just as a normal font:

enter image description here


abc [{\zz abc} ]


The font should be

$ kpsewhich txmi1.vf
| improve this answer | |
  • Is that command that gives me no output. Is it possible that dvips gives trouble? – Martino Jul 14 '15 at 14:08
  • @Lorenzo works for me with pdftex and tex/dvips/ps2pdf. You presumably don't have all the font installed, or the map entry for dvips or .... You should get a warning from tex or dvips or ps2pdf or something if the fonts do not appear at the end/ – David Carlisle Jul 14 '15 at 14:53
  • Whoever downvoted, why? I can't even guess? – David Carlisle Jul 14 '15 at 15:18
  • That's right, my dvi viewer shows a warning. About the font installation, I'm sure I've installed all of those, even if I do not insert the fd files, which are required in LaTeX – Martino Jul 14 '15 at 15:23
  • the warning is the following: C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\dvips.exe: ! Couldn't find font file n021023l.pfb – Martino Jul 14 '15 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.