| 1 |
|
| 2 |
\ProvidesPackage{pslatex}[2021/01/13 v1.3 pslatex emulation (DPC)] |
| 3 |
|
| 4 |
% Copyright 1994 1996 2021 David Carlisle |
| 5 |
% This file may be distributed under the terms of the LPPL. |
| 6 |
% See README.txt for details. |
| 7 |
|
| 8 |
% 1994/06/28 v1.0 |
| 9 |
% 1996/07/22 v1.1 update to `8r' encoded base fonts. |
| 10 |
% 1996/07/24 v1.2 New way of resolving \pounds/\$ problem |
| 11 |
% 2021/01/13 v1.3 Replace {mc} font shape by {c} for NFSS update. |
| 12 |
|
| 13 |
%%% pslatex emulation for LaTeX2e |
| 14 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 15 |
|
| 16 |
% This file consists of verbatim copies of times.sty and mathptm.sty |
| 17 |
% to get a basic times/helvetica/courier setup. |
| 18 |
% |
| 19 |
% It then has a copy of OT1pcr.fd |
| 20 |
% modified to load a narrowed version of courier. |
| 21 |
% and make the ui substitution silent (ui now removed v1.2) |
| 22 |
% |
| 23 |
% It then has a copy of OT1phv.fd |
| 24 |
% modified to load helvetica at 90%. |
| 25 |
% and make the ui substitution silent (ui now removed v1.2) |
| 26 |
% |
| 27 |
% It then has a copy of OT1ptm.fd |
| 28 |
% modified to make the ui substitution silent (ui now removed v1.2) |
| 29 |
% |
| 30 |
% |
| 31 |
% It finally runs \normalfont (if run by the pslatex script |
| 32 |
% it is loaded after \begin{document} has run \normalfont). |
| 33 |
|
| 34 |
|
| 35 |
% (Not) supporting \pounds in OT1 |
| 36 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 37 |
% |
| 38 |
% But before that it tells LaTeX that OT1 fonts have not got |
| 39 |
% a pound sign, and that if any encoding has not got a pound sign, |
| 40 |
% to use the one from the T1 encoding. |
| 41 |
% |
| 42 |
% NOTE!!! This means that any font in which you want a \pounds must |
| 43 |
% be available in T1 encoded form. This is no problem for all the |
| 44 |
% PostScript fonts as they are distributed in T1 and OT1. But if |
| 45 |
% you mix postscript fonts with Computer Modern, you'll need the T1 |
| 46 |
% encoded Computer Modern (dc) fonts available. |
| 47 |
% Because of this change all substitutions for the ui font shape |
| 48 |
% (which is only ever used for \pounds) are removed. |
| 49 |
|
| 50 |
|
| 51 |
\DeclareTextSymbolDefault{\textsterling}{T1} |
| 52 |
|
| 53 |
\expandafter\let |
| 54 |
\csname OT1\string\textsterling\endcsname\@undefined |
| 55 |
|
| 56 |
|
| 57 |
%%%% TIMES.STY |
| 58 |
|
| 59 |
\renewcommand{\sfdefault}{phv} |
| 60 |
\renewcommand{\rmdefault}{ptm} |
| 61 |
\renewcommand{\ttdefault}{pcr} |
| 62 |
|
| 63 |
|
| 64 |
%%%% MATHPTM.STY |
| 65 |
|
| 66 |
\DeclareSymbolFont{operators} {OT1}{ptmcm}{m}{n} |
| 67 |
\DeclareSymbolFont{letters} {OML}{ptmcm}{m}{it} |
| 68 |
\DeclareSymbolFont{symbols} {OMS}{pzccm}{m}{n} |
| 69 |
\DeclareSymbolFont{largesymbols}{OMX}{psycm}{m}{n} |
| 70 |
\DeclareSymbolFont{bold} {OT1}{ptm}{bx}{n} |
| 71 |
\DeclareSymbolFont{italic} {OT1}{ptm}{m}{it} |
| 72 |
|
| 73 |
% If we're in compatibility mode, defined \mathbf and \mathit. |
| 74 |
|
| 75 |
\@ifundefined{mathbf}{}{\DeclareMathAlphabet{\mathbf}{OT1}{ptm}{bx}{n}} |
| 76 |
\@ifundefined{mathit}{}{\DeclareMathAlphabet{\mathit}{OT1}{ptm}{m}{it}} |
| 77 |
|
| 78 |
% An \omicron command, to fill the gap. |
| 79 |
|
| 80 |
\DeclareMathSymbol{\omicron}{0}{operators}{`\o} |
| 81 |
|
| 82 |
% Reduce the space around math operators |
| 83 |
|
| 84 |
\thinmuskip=2mu |
| 85 |
\medmuskip=2.5mu plus 1mu minus 1mu |
| 86 |
\thickmuskip=4mu plus 1.5mu minus 1mu |
| 87 |
|
| 88 |
% No bold math. |
| 89 |
|
| 90 |
\def\boldmath{% |
| 91 |
\@warning{there is no bold Symbol font}% |
| 92 |
\global\let\boldmath=\relax |
| 93 |
} |
| 94 |
|
| 95 |
% Larger scripts. |
| 96 |
|
| 97 |
\DeclareMathSizes{5}{5}{5}{5} |
| 98 |
\DeclareMathSizes{6}{6}{5}{5} |
| 99 |
\DeclareMathSizes{7}{7}{5}{5} |
| 100 |
\DeclareMathSizes{8}{8}{6}{5} |
| 101 |
\DeclareMathSizes{9}{9}{7}{5} |
| 102 |
\DeclareMathSizes{10}{10}{7.4}{6} |
| 103 |
\DeclareMathSizes{10.95}{10.95}{8}{6} |
| 104 |
\DeclareMathSizes{12}{12}{9}{7} |
| 105 |
\DeclareMathSizes{14.4}{14.4}{10.95}{8} |
| 106 |
\DeclareMathSizes{17.28}{17.28}{12}{10} |
| 107 |
\DeclareMathSizes{20.74}{20.74}{14.4}{12} |
| 108 |
\DeclareMathSizes{24.88}{24.88}{17.28}{14.4} |
| 109 |
|
| 110 |
|
| 111 |
\DeclareFontSubstitution{OMS}{pzccm}{m}{n} |
| 112 |
|
| 113 |
\begingroup |
| 114 |
\nfss@catcodes |
| 115 |
|
| 116 |
%%%%% ``OMSptm.fd'' |
| 117 |
\DeclareFontFamily{OMS}{ptm}{} |
| 118 |
\DeclareFontShape{OMS}{ptm}{m}{n} |
| 119 |
{<-> ssub * pzccm/m/n}{} |
| 120 |
\DeclareFontShape{OMS}{ptm}{m}{it} |
| 121 |
{<-> ssub * pzccm/m/n}{} |
| 122 |
\DeclareFontShape{OMS}{ptm}{m}{sl} |
| 123 |
{<-> ssub * pzccm/m/n}{} |
| 124 |
\DeclareFontShape{OMS}{ptm}{m}{sc} |
| 125 |
{<-> ssub * pzccm/m/n}{} |
| 126 |
\DeclareFontShape{OMS}{ptm}{bx}{n} |
| 127 |
{<-> ssub * pzccm/b/n}{} |
| 128 |
\DeclareFontShape{OMS}{ptm}{bx}{it} |
| 129 |
{<-> ssub * pzccm/b/n}{} |
| 130 |
\DeclareFontShape{OMS}{ptm}{bx}{sl} |
| 131 |
{<-> ssub * pzccm/b/n}{} |
| 132 |
\DeclareFontShape{OMS}{ptm}{bx}{sc} |
| 133 |
{<-> ssub * pzccm/b/n}{} |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
%%%% OT1pcr.fd |
| 138 |
% |
| 139 |
\DeclareFontFamily{OT1}{pcr}{\hyphenchar \font =-1}% |
| 140 |
% |
| 141 |
\DeclareFontShape{OT1}{pcr}{b}{n}{% |
| 142 |
<-> pcrb7t% |
| 143 |
}{}% |
| 144 |
% |
| 145 |
\DeclareFontShape{OT1}{pcr}{b}{sc}{% |
| 146 |
<-> pcrbc7t% |
| 147 |
}{}% |
| 148 |
% |
| 149 |
\DeclareFontShape{OT1}{pcr}{b}{sl}{% |
| 150 |
<-> pcrbo7t% |
| 151 |
}{}% |
| 152 |
% |
| 153 |
%%%% pslatex's condenced courier |
| 154 |
\DeclareFontShape{OT1}{pcr}{m}{n}{% |
| 155 |
<-> pcrr7tn% |
| 156 |
}{}% |
| 157 |
% |
| 158 |
\DeclareFontShape{OT1}{pcr}{m}{sc}{% |
| 159 |
<-> pcrrc7t% |
| 160 |
}{}% |
| 161 |
% |
| 162 |
\DeclareFontShape{OT1}{pcr}{m}{sl}{% |
| 163 |
<-> pcrro7t% |
| 164 |
}{}% |
| 165 |
|
| 166 |
% |
| 167 |
\DeclareFontShape{OT1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}% |
| 168 |
\DeclareFontShape{OT1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}% |
| 169 |
\DeclareFontShape{OT1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}% |
| 170 |
\DeclareFontShape{OT1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}% |
| 171 |
\DeclareFontShape{OT1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}% |
| 172 |
\DeclareFontShape{OT1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}% |
| 173 |
|
| 174 |
% |
| 175 |
|
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
%%%% OT1phv.fd |
| 180 |
|
| 181 |
%%Filename: OT1phv.fd |
| 182 |
%%Created by: tex 16273helvetic |
| 183 |
%%Created using fontinst v1.328 |
| 184 |
|
| 185 |
%%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY |
| 186 |
|
| 187 |
\DeclareFontFamily{OT1}{phv}{} |
| 188 |
|
| 189 |
\DeclareFontShape{OT1}{phv}{b}{n}{ |
| 190 |
<-> s * [.9] phvb7t |
| 191 |
}{} |
| 192 |
|
| 193 |
\DeclareFontShape{OT1}{phv}{b}{sc}{ |
| 194 |
<-> s * [.9] phvbc7t |
| 195 |
}{} |
| 196 |
|
| 197 |
\DeclareFontShape{OT1}{phv}{b}{sl}{ |
| 198 |
<-> s * [.9] phvbo7t |
| 199 |
}{} |
| 200 |
|
| 201 |
\DeclareFontShape{OT1}{phv}{bc}{n}{ |
| 202 |
<-> s * [.9] phvbrn7t |
| 203 |
}{} |
| 204 |
|
| 205 |
\DeclareFontShape{OT1}{phv}{bc}{sc}{ |
| 206 |
<-> s * [.9] phvbcn7t |
| 207 |
}{} |
| 208 |
|
| 209 |
\DeclareFontShape{OT1}{phv}{bc}{sl}{ |
| 210 |
<-> s * [.9] phvbon7t |
| 211 |
}{} |
| 212 |
|
| 213 |
\DeclareFontShape{OT1}{phv}{m}{n}{ |
| 214 |
<-> s * [.9] phvr7t |
| 215 |
}{} |
| 216 |
|
| 217 |
\DeclareFontShape{OT1}{phv}{m}{sc}{ |
| 218 |
<-> s * [.9] phvrc7t |
| 219 |
}{} |
| 220 |
|
| 221 |
\DeclareFontShape{OT1}{phv}{m}{sl}{ |
| 222 |
<-> s * [.9] phvro7t |
| 223 |
}{} |
| 224 |
|
| 225 |
\DeclareFontShape{OT1}{phv}{c}{n}{ |
| 226 |
<-> s * [.9] phvrrn7t |
| 227 |
}{} |
| 228 |
|
| 229 |
\DeclareFontShape{OT1}{phv}{c}{sc}{ |
| 230 |
<-> s * [.9] phvrcn7t |
| 231 |
}{} |
| 232 |
|
| 233 |
\DeclareFontShape{OT1}{phv}{c}{sl}{ |
| 234 |
<-> s * [.9] phvron7t |
| 235 |
}{} |
| 236 |
|
| 237 |
\DeclareFontShape{OT1}{phv}{bx}{n}{<->ssub * phv/b/n}{} |
| 238 |
\DeclareFontShape{OT1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{} |
| 239 |
\DeclareFontShape{OT1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{} |
| 240 |
\DeclareFontShape{OT1}{phv}{b}{it}{<->ssub * phv/b/sl}{} |
| 241 |
\DeclareFontShape{OT1}{phv}{bx}{it}{<->ssub * phv/b/it}{} |
| 242 |
\DeclareFontShape{OT1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{} |
| 243 |
\DeclareFontShape{OT1}{phv}{m}{it}{<->ssub * phv/m/sl}{} |
| 244 |
\DeclareFontShape{OT1}{phv}{c}{it}{<->ssub * phv/mc/sl}{} |
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
%%%% OT1ptm.fd |
| 249 |
|
| 250 |
%Filename: OT1ptm.fd |
| 251 |
%Created by: tex 16594times |
| 252 |
%Created using fontinst v1.328 |
| 253 |
|
| 254 |
%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY |
| 255 |
|
| 256 |
\DeclareFontFamily{OT1}{ptm}{} |
| 257 |
|
| 258 |
\DeclareFontShape{OT1}{ptm}{b}{n}{ |
| 259 |
<-> ptmb7t |
| 260 |
}{} |
| 261 |
|
| 262 |
\DeclareFontShape{OT1}{ptm}{b}{sc}{ |
| 263 |
<-> ptmbc7t |
| 264 |
}{} |
| 265 |
|
| 266 |
\DeclareFontShape{OT1}{ptm}{b}{it}{ |
| 267 |
<-> ptmbi7t |
| 268 |
}{} |
| 269 |
|
| 270 |
\DeclareFontShape{OT1}{ptm}{b}{sl}{ |
| 271 |
<-> ptmbo7t |
| 272 |
}{} |
| 273 |
|
| 274 |
\DeclareFontShape{OT1}{ptm}{m}{n}{ |
| 275 |
<-> ptmr7t |
| 276 |
}{} |
| 277 |
|
| 278 |
\DeclareFontShape{OT1}{ptm}{m}{sc}{ |
| 279 |
<-> ptmrc7t |
| 280 |
}{} |
| 281 |
|
| 282 |
\DeclareFontShape{OT1}{ptm}{m}{it}{ |
| 283 |
<-> ptmri7t |
| 284 |
}{} |
| 285 |
|
| 286 |
\DeclareFontShape{OT1}{ptm}{m}{sl}{ |
| 287 |
<-> ptmro7t |
| 288 |
}{} |
| 289 |
|
| 290 |
\DeclareFontShape{OT1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{} |
| 291 |
\DeclareFontShape{OT1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{} |
| 292 |
\DeclareFontShape{OT1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{} |
| 293 |
\DeclareFontShape{OT1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{} |
| 294 |
|
| 295 |
|
| 296 |
|
| 297 |
%%%% T1pcr.fd |
| 298 |
% |
| 299 |
\DeclareFontFamily{T1}{pcr}{\hyphenchar \font =-1}% |
| 300 |
% |
| 301 |
\DeclareFontShape{T1}{pcr}{b}{n}{% |
| 302 |
<-> pcrb8t% |
| 303 |
}{}% |
| 304 |
% |
| 305 |
\DeclareFontShape{T1}{pcr}{b}{sc}{% |
| 306 |
<-> pcrbc8t% |
| 307 |
}{}% |
| 308 |
% |
| 309 |
\DeclareFontShape{T1}{pcr}{b}{sl}{% |
| 310 |
<-> pcrbo8t% |
| 311 |
}{}% |
| 312 |
% |
| 313 |
%%%% pslatex's condensed courier |
| 314 |
\DeclareFontShape{T1}{pcr}{m}{n}{% |
| 315 |
<-> pcrr8tn% |
| 316 |
}{}% |
| 317 |
% |
| 318 |
\DeclareFontShape{T1}{pcr}{m}{sc}{% |
| 319 |
<-> pcrrc8t% |
| 320 |
}{}% |
| 321 |
% |
| 322 |
\DeclareFontShape{T1}{pcr}{m}{sl}{% |
| 323 |
<-> pcrro8t% |
| 324 |
}{}% |
| 325 |
% |
| 326 |
\DeclareFontShape{T1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}% |
| 327 |
\DeclareFontShape{T1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}% |
| 328 |
\DeclareFontShape{T1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}% |
| 329 |
\DeclareFontShape{T1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}% |
| 330 |
\DeclareFontShape{T1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}% |
| 331 |
\DeclareFontShape{T1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}% |
| 332 |
% |
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
%%%% T1phv.fd |
| 338 |
|
| 339 |
%%Filename: T1phv.fd |
| 340 |
%%Created by: tex 16273helvetic |
| 341 |
%%Created using fontinst v1.328 |
| 342 |
|
| 343 |
%%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY |
| 344 |
|
| 345 |
\DeclareFontFamily{T1}{phv}{} |
| 346 |
|
| 347 |
\DeclareFontShape{T1}{phv}{b}{n}{ |
| 348 |
<-> s * [.9] phvb8t |
| 349 |
}{} |
| 350 |
|
| 351 |
\DeclareFontShape{T1}{phv}{b}{sc}{ |
| 352 |
<-> s * [.9] phvbc8t |
| 353 |
}{} |
| 354 |
|
| 355 |
\DeclareFontShape{T1}{phv}{b}{sl}{ |
| 356 |
<-> s * [.9] phvbo8t |
| 357 |
}{} |
| 358 |
|
| 359 |
\DeclareFontShape{T1}{phv}{bc}{n}{ |
| 360 |
<-> s * [.9] phvbrn8t |
| 361 |
}{} |
| 362 |
|
| 363 |
\DeclareFontShape{T1}{phv}{bc}{sc}{ |
| 364 |
<-> s * [.9] phvbcn8t |
| 365 |
}{} |
| 366 |
|
| 367 |
\DeclareFontShape{T1}{phv}{bc}{sl}{ |
| 368 |
<-> s * [.9] phvbon8t |
| 369 |
}{} |
| 370 |
|
| 371 |
\DeclareFontShape{T1}{phv}{m}{n}{ |
| 372 |
<-> s * [.9] phvr8t |
| 373 |
}{} |
| 374 |
|
| 375 |
\DeclareFontShape{T1}{phv}{m}{sc}{ |
| 376 |
<-> s * [.9] phvrc8t |
| 377 |
}{} |
| 378 |
|
| 379 |
\DeclareFontShape{T1}{phv}{m}{sl}{ |
| 380 |
<-> s * [.9] phvro8t |
| 381 |
}{} |
| 382 |
|
| 383 |
\DeclareFontShape{T1}{phv}{c}{n}{ |
| 384 |
<-> s * [.9] phvrrn8t |
| 385 |
}{} |
| 386 |
|
| 387 |
\DeclareFontShape{T1}{phv}{c}{sc}{ |
| 388 |
<-> s * [.9] phvrcn8t |
| 389 |
}{} |
| 390 |
|
| 391 |
\DeclareFontShape{T1}{phv}{c}{sl}{ |
| 392 |
<-> s * [.9] phvron8t |
| 393 |
}{} |
| 394 |
|
| 395 |
\DeclareFontShape{T1}{phv}{bx}{n}{<->ssub * phv/b/n}{} |
| 396 |
\DeclareFontShape{T1}{phv}{bx}{sc}{<->ssub * phv/b/sc}{} |
| 397 |
\DeclareFontShape{T1}{phv}{bx}{sl}{<->ssub * phv/b/sl}{} |
| 398 |
\DeclareFontShape{T1}{phv}{b}{it}{<->ssub * phv/b/sl}{} |
| 399 |
\DeclareFontShape{T1}{phv}{bx}{it}{<->ssub * phv/b/it}{} |
| 400 |
\DeclareFontShape{T1}{phv}{bc}{it}{<->ssub * phv/bc/sl}{} |
| 401 |
\DeclareFontShape{T1}{phv}{m}{it}{<->ssub * phv/m/sl}{} |
| 402 |
\DeclareFontShape{T1}{phv}{c}{it}{<->ssub * phv/mc/sl}{} |
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
%%%% T1ptm.fd |
| 407 |
|
| 408 |
%Filename: T1ptm.fd |
| 409 |
%Created by: tex 16594times |
| 410 |
%Created using fontinst v1.328 |
| 411 |
|
| 412 |
%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY |
| 413 |
|
| 414 |
\DeclareFontFamily{T1}{ptm}{} |
| 415 |
|
| 416 |
\DeclareFontShape{T1}{ptm}{b}{n}{ |
| 417 |
<-> ptmb8t |
| 418 |
}{} |
| 419 |
|
| 420 |
\DeclareFontShape{T1}{ptm}{b}{sc}{ |
| 421 |
<-> ptmbc8t |
| 422 |
}{} |
| 423 |
|
| 424 |
\DeclareFontShape{T1}{ptm}{b}{it}{ |
| 425 |
<-> ptmbi8t |
| 426 |
}{} |
| 427 |
|
| 428 |
\DeclareFontShape{T1}{ptm}{b}{sl}{ |
| 429 |
<-> ptmbo8t |
| 430 |
}{} |
| 431 |
|
| 432 |
\DeclareFontShape{T1}{ptm}{m}{n}{ |
| 433 |
<-> ptmr8t |
| 434 |
}{} |
| 435 |
|
| 436 |
\DeclareFontShape{T1}{ptm}{m}{sc}{ |
| 437 |
<-> ptmrc8t |
| 438 |
}{} |
| 439 |
|
| 440 |
\DeclareFontShape{T1}{ptm}{m}{it}{ |
| 441 |
<-> ptmri8t |
| 442 |
}{} |
| 443 |
|
| 444 |
\DeclareFontShape{T1}{ptm}{m}{sl}{ |
| 445 |
<-> ptmro8t |
| 446 |
}{} |
| 447 |
|
| 448 |
\DeclareFontShape{T1}{ptm}{bx}{n}{<->ssub * ptm/b/n}{} |
| 449 |
\DeclareFontShape{T1}{ptm}{bx}{sc}{<->ssub * ptm/b/sc}{} |
| 450 |
\DeclareFontShape{T1}{ptm}{bx}{it}{<->ssub * ptm/b/it}{} |
| 451 |
\DeclareFontShape{T1}{ptm}{bx}{sl}{<->ssub * ptm/b/sl}{} |
| 452 |
|
| 453 |
\endgroup |
| 454 |
|
| 455 |
% And finally... |
| 456 |
|
| 457 |
\normalfont |
| 458 |
|
| 459 |
\endinput |