[NTG-context] \usepackage{pslatex} equivalent for context
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Fri Oct 5 01:45:51 CEST 2007
On 10/5/07, frantisek holop wrote:
> hi there,
>
> i was wondering if there was a quick and dirty equivalent for
> latex's \usepackage{pslatex}
>
> http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6:
>
> This is a small package that makes LaTeX default to `standard'
> PostScript fonts. It is basically a hacked merger of times.sty and
> mathptm.sty, from the psnfss suite of packages. You must have
> installed standard LaTeX (LaTeX2e) and psnfss PostScript fonts
> to use this package.
\usetypescript[postscript][ec] %typescript name
\setupbodyfont[postscript,10pt] % typeface name
That one is possible because of this in type-one.tex:
\starttypescript [postscript] [texnansi,ec,qx,t5,uc,8r]
\definetypeface [postscript] [rm] [serif] [times] [default]
[encoding=\typescripttwo]
\definetypeface [postscript] [ss] [sans] [helvetica] [default]
[rscale=.9,encoding=\typescripttwo]
\definetypeface [postscript] [tt] [mono] [courier] [default]
[rscale=1.1,encoding=\typescripttwo]
\definetypeface [postscript] [mm] [math] [times] [default]
\usemathcollection[default]
\quittypescriptscanning
\stoptypescript
You can combine fonts "easily" like that.
Mojca
More information about the ntg-context
mailing list