3

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.

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

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

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.