% The Times-LaTeX format replaces most of the CM text fonts with their
% "equivalent" PostScript fonts.  Here's how to create the fmt file:
%
% 1. Put Times-lfonts.tex into TeX-formats and rename it lfonts.tex.
%
% 2. Start up OzTeX and make TeX-formats the current folder by using "TeX..."
%    to locate the new lfonts.tex and then selecting Cancel.
%
% 3. Run INITEX and in response to the "**" prompt type "Times-LaTeX\dump"
%    and hit Return.  INITEX will read lfonts.tex from the current folder.
%
% 3. When you get the standard file dialogue, save Times-LaTeX.fmt in
%    the TeX-formats folder.
%
% 4. Go back to the Finder and restore the original name for lfonts.tex.
%    If you forget this step then INITEX will use this file the next
%    time you build the LaTeX format!
%
% 5. Add the new format name to your configuration file(s).
%
% There are a number of problems with Times-LaTeX:
% -- Standard PS text fonts don't have a tie accent, nor a dotless j.
% -- There are no readily available PS fonts to replace the CM math fonts.
% Since it was created in a bit of a hurry, there are probably other problems!
% 
% Andrew Trevorrow, October 1989

\input lplain    % will \input lfonts.tex, then latex.tex

% We redefine \LaTeX so that it doesn't use \sc (since there is no PostScript
% Small Caps font readily available).
% The new definition must come after the one in lateX.tex:
\def\LaTeX{{L\kern-.35em\raise-0.4ex\hbox{$^{\rm A}$}\kern-.15em\TeX}}

% \PStext sets things up for a PostScript text font:
\def\PStext
{% PS foreign language locations:
\chardef\ss="FB%
\chardef\ae="F1%
\chardef\oe="FA%
\chardef\o="F9%
\chardef\AE="E1%
\chardef\OE="EA%
\chardef\O="E9%
\chardef\i="F5%
\chardef\l="F8%
\chardef\L="E8%
\def\aa{\leavevmode\raise0.1ex\rlap{\kern0.05em\char'312}a}%
\def\AA{\leavevmode\raise0.4ex\rlap{\kern0.2em\char'312}A}%
\def\j{j\write16{No dotless j in this font!}}%
% PS accent locations:
\def\`##1{{\accent193 ##1}}%
\def\'##1{{\accent194 ##1}}%
\def\v##1{{\accent207 ##1}}%
\def\u##1{{\accent198 ##1}}%
\def\=##1{{\accent197 ##1}}%
\def\^##1{{\accent195 ##1}}%
\def\.##1{{\accent199 ##1}}%
\def\H##1{{\accent205 ##1}}%
\def\~##1{{\accent196 ##1}}%
\def\"##1{{\accent200 ##1}}%
\def\b##1{\oalign{##1\crcr\hidewidth%
\vbox to.2ex{\hbox{\char197}\vss}\hidewidth}}%
\def\c##1{\setbox0\hbox{##1}\ifdim\ht0=1ex\accent203 ##1%
\else{\ooalign{\hidewidth\char203\hidewidth\crcr\unhbox0}}\fi}%
\def\t{\write16{No tie accent in this font!}}%
% PS uppercase Greek (assumes \sy is Symbol font):
\def\Gamma{\hbox{\sy G}}%
\def\Delta{\hbox{\sy D}}%
\def\Theta{\hbox{\sy Q}}%
\def\Lambda{\hbox{\sy L}}%
\def\Xi{\hbox{\sy X}}%
\def\Pi{\hbox{\sy P}}%
\def\Sigma{\hbox{\sy S}}%
\def\Upsilon{\hbox{\sy U}}%
\def\Phi{\hbox{\sy F}}%
\def\Psi{\hbox{\sy Y}}%
\def\Omega{\hbox{\sy W}}%
}

% \CMtext sets things up for a Computer Modern text font:
\def\CMtext
{% CM foreign language locations:
\chardef\ss="19%
\chardef\ae="1A%
\chardef\oe="1B%
\chardef\o="1C%
\chardef\AE="1D%
\chardef\OE="1E%
\chardef\O="1F%
\chardef\i="10%
\chardef\j="11%
\def\l{\char32l}%
\def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}%
\def\aa{\accent23a}%
\def\AA{\leavevmode\setbox0\hbox{h}\dimen0\ht0\advance\dimen0-1ex%
\rlap{\raise.67\dimen0\hbox{\char'27}}A}%
% CM accent locations:
\def\`##1{{\accent18 ##1}}%
\def\'##1{{\accent19 ##1}}%
\def\v##1{{\accent20 ##1}}\let\^^_=\v%
\def\u##1{{\accent21 ##1}}\let\^^S=\u%
\def\=##1{{\accent22 ##1}}%
\def\^##1{{\accent94 ##1}}\let\^^D=\^%
\def\.##1{{\accent95 ##1}}%
\def\H##1{{\accent"7D ##1}}%
\def\~##1{{\accent"7E ##1}}%
\def\"##1{{\accent"7F ##1}}%
\def\b##1{\oalign{##1\crcr\hidewidth%
\vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}%
\def\c##1{\setbox0\hbox{##1}\ifdim\ht0=1ex\accent24 ##1%
\else{\ooalign{\hidewidth\char24\hidewidth\crcr\unhbox0}}\fi}%
\def\t##1{{\edef\next{\the\font}\the\textfont1\accent"7F\next##1}}%
% CM uppercase Greek (assumes current font is a CM text font):
\def\Gamma{\hbox{\char0}}%
\def\Delta{\hbox{\char1}}%
\def\Theta{\hbox{\char2}}%
\def\Lambda{\hbox{\char3}}%
\def\Xi{\hbox{\char4}}%
\def\Pi{\hbox{\char5}}%
\def\Sigma{\hbox{\char6}}%
\def\Upsilon{\hbox{\char7}}%
\def\Phi{\hbox{\char8}}%
\def\Psi{\hbox{\char9}}%
\def\Omega{\hbox{\char10}}%
}

\PStext    % switch to PostScript text
