This is PostScript-fonst-in-TeX in view mode; [Up]
Date: Sun 10-Jul-1991 14:51:07 From: gisli@caen.engin.umich.edu (Gisli Ottarsson) Subject: PostScript fonst in TeX (not LaTeX) I am using the Tom Rokicki distribution of TeX on a NeXT and have been having problems using 12pt Times-Roman for text. I am using the TeX fonts for the math (BTW do PostScript fonts equivalent to cmmi, cmsy and cmex exist) and my problem is as follows. Math accents (hats, bars etc.) have an incorrect elevation. Note, this is TeX, not LaTeX. I have included the file I call psc12.tex which is a simplistic modification of a file I inherited. Can someone spot the flaws, or better yet, does someone have a file that accomplishes what I want. To reproduce my problem do this: \input psc12 $$\bar k$$ \end Thanks in advance Gisli % This is the file psc12.tex, which makes the default fontsize % for TeX82 twelvepoint instead of tenpoint. % Modified to use PostScript Times-Roman \ifx\atwelveptloaded\relax\message{already loaded!} \endinput\else\let\atwelveptloaded=\relax\message{load am 12pt fonts}\fi % don't read this baby in twice if you don't have to! \font\twelverm=times at 12pt % roman font \font\twelvebf=timesb at 12pt % boldface font \font\twelvesl=timessl at 12pt % slanted font \font\twelveit=timesi at 12pt % text italic font \font\twelvett=cmtt10 at 12pt % typewriter font \font\twelvei=cmmi10 at 12pt % math italic font \font\twelvesy=cmsy10 at 12pt % math symbolic font \font\twelveex=cmex10 at 12pt % math extended font \font\ninerm=times at 9pt % roman font \font\ninebf=timesb at 9pt % boldface font \font\ninesl=timessl at 9pt % slanted font \font\nineit=timesi at 9pt % text italic font \font\ninett=cmtt9 at 9pt % typewriter font \font\ninei=cmmi9 at 9pt % math italic font \font\ninesy=cmsy9 at 9pt % math symbolic font \font\nineex=cmex10 at 9pt % math extended font \font\bigfnt=times scaled \magstep2 % for titles \font\biggfnt=times scaled \magstep3 \font\bigggfnt=times scaled \magstep4 \font\timescsc=cmcsc10 at 12pt % CAPS \font\timescsc=cmcsc10 % and smallCAPS \font\footnotefont=times at 9pt % FOOTNOTES %\let\preloaded=\undefined % preloaded fonts must be declared anew later. \skewchar\twelvei='177 \skewchar\teni='177 \skewchar\seveni='177 \skewchar\twelvesy='60 \skewchar\tensy='60 \skewchar\sevensy='60 \catcode`@=11 \newskip\ttglue \def\twelvepoint{\def\rm{\fam0\twelverm} \textfont0=\twelverm \scriptfont0=\ninerm \scriptscriptfont0=\sevenrm \textfont1=\twelvei \scriptfont1=\ninei \scriptscriptfont1=\seveni \def\mit{\fam\@ne} \def\oldstyle{\fam\@ne\twelvei}% \textfont2=\twelvesy \scriptfont2=\ninesy \scriptscriptfont2=\sevensy \def\cal{\fam\tw@}% \textfont3=\twelveex \scriptfont3=\twelveex \scriptscriptfont3=\twelveex \textfont\itfam=\twelveit \def\it{\fam\itfam\twelveit}% \textfont\slfam=\twelvesl \def\sl{\fam\slfam\twelvesl}% \textfont\bffam=\twelvebf \def\bf{\fam\bffam\twelvebf}% \scriptfont\bffam=\ninebf \scriptscriptfont\bffam=\sevenbf \textfont\ttfam=\twelvett \def\tt{\fam\ttfam\twelvett}% \parindent 24pt \tt \ttglue=.5em plus.25em minus.15em \normalbaselineskip=14.4pt \setbox\strutbox=\hbox{\vrule height 10.2pt depth 4.2pt width 0pt} % re-define the strut for the larger size characters \def\singlespace{\baselineskip 13pt % normal spacing \lineskip 1pt} \def\onehalfspace{\baselineskip 18pt % more spacing \lineskip 1pt} \def\doublespace{\baselineskip 28pt % double spacing \lineskip 1pt} \rm} \catcode`@=12 % at signs are no longer letters \twelvepoint \singlespace
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.