[Tex/LaTex] How to use times fonts in Plain TeX

fontsplain-tex

I'd like to use Times fonts in Plain TeX. What would be the Plain-TeX equivalent of the LaTeX command \renewcommand{\rmdefault}{ptm}?

Best Answer

Looking at mathptmx.sty, the following should do

\font\tenrm=ptmr7t at 10pt % roman text
\font\sevenrm=ptmr7t at 7pt
\font\fiverm=ptmr7t at 5pt

\font\tenbf=ptmb7t at 10pt % boldface extended
\font\sevenbf=ptmb7t at 7pt
\font\fivebf=ptmb7t at 5pt

\font\tensl=ptmro7t at 10pt % slanted roman

\font\tenit=ptmri7t at 10pt % text italic

% for math family 0 we need a font different from ptmr7t    
\font\tenrmop=zptmcm7t at 10pt
\font\sevenrmop=zptmcm7t at 7pt
\font\fivermop=zptmcm7t at 5pt

\textfont0=\tenrmop
\scriptfont0=\sevenrmop
\scriptscriptfont0=\fivermop

\font\teni=zptmcm7m at 10pt % math italic
\font\seveni=zptmcm7m at 7pt
\font\fivei=zptmcm7m at 5pt

\font\tensy=zptmcm7y at 10pt % math symbols
\font\sevensy=zptmcm7y at 7pt
\font\fivesy=zptmcm7y at 5pt

\font\tenex=zptmcm7v at 10pt % math extension

\tenrm % choose default
Related Question