4

I'm trying to get the same results of the LaTeX txfonts package in plain TeX.

I started with @DavidCarlisle's answer and it works fine... Unless I use spaces :P

This works exactly as expected:

\font\zz=txmi1
abc [{\zz abc} ]
\end

and produces this:

enter image description here

But if we go a little further and do this:

\font\zz=txmi1
Ol\'a mundo! [{\zz Ol\'a mundo!} ]
\end

things will get a little strange:

enter image description here

Why does this happen? And how to I get to replace correctly Computer Modern by TXFonts in plain TeX?

P.S.: Both standard TeX and PDFTeX produce the same result.

1
  • 2
    You have fallen on to the \zz side of the Force ...
    – user31729
    Dec 31, 2017 at 17:58

1 Answer 1

4

Your font is a font meant for math. You can check its fonttable like this:

\documentclass[12pt]{article}

\usepackage{fonttable}
\begin{document}
\fonttable{txmi1}
\end{document}

enter image description here

txi is probably the font you want:

\font\zz=txi
Ol\'a mundo! [{\zz Ol\'a mundo!} ]
\bye

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .