home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / useful / dist / text / tex / pastex / macros / latex / nfss2 / nfdcfnt.sty < prev    next >
Text File  |  1993-08-05  |  6KB  |  158 lines

  1. %% 
  2. %% This is file `nfdcfnt.sty', generated 
  3. %% on <1993/8/5> with the docstrip utility (2.0r).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% basefont.dtx  (with options: `dclf')
  8. %% 
  9. %% Copyright (C) 1989--1993 by Frank Mittelbach, Rainer Schoepf. 
  10. %% All rights reserved. 
  11. %% 
  12. %% This file is part of the NFSS2 (New Font Selection Scheme) package. 
  13. %% 
  14. %% This package is distributed in the hope that it will be useful, 
  15. %% but WITHOUT ANY WARRANTY; without even the implied warranty of 
  16. %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
  17. %% 
  18. %% 
  19. %% IMPORTANT NOTICE: 
  20. %% 
  21. %% For error reports in case of UNCHANGED versions see readme files. 
  22. %% 
  23. %% Please do not request updates from us directly. Distribution is 
  24. %% done through Mail-Servers and TeX organizations. 
  25. %% 
  26. %% You are not allowed to change this file. You may however copy 
  27. %% this file to a file with a different name and then change the copy 
  28. %% if you obey the restrictions on file changes described in 
  29. %% readme.mz. 
  30. %% 
  31. %% You are allowed to distribute this file under the condition that 
  32. %% it is distributed together with all files mentioned in readme.mz8. 
  33. %% If you receive only some of these files from someone, complain! 
  34. %% 
  35. %% You are NOT ALLOWED to distribute this file alone. You are NOT 
  36. %% ALLOWED to take money for the distribution or use of either this 
  37. %% file or a changed version, except for a nominal charge for copying 
  38. %% etc. 
  39. \def\fileversion{v2.0c}
  40. \def\filedate{93/06/20}
  41. \def\docdate {93/06/20}
  42.  
  43. %% \CharacterTable
  44. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  45. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  46. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  47. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  48. %%   Dollar        \$     Percent       \%     Ampersand     \&
  49. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  50. %%   Asterisk      \*     Plus          \+     Comma         \,
  51. %%   Minus         \-     Point         \.     Solidus       \/
  52. %%   Colon         \:     Semicolon     \;     Less than     \<
  53. %%   Equals        \=     Greater than  \>     Question mark \?
  54. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  55. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  56. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  57. %%   Right brace   \}     Tilde         \~}
  58. %%
  59. \immediate
  60.   \write\sixt@@n{Style-Option: `nfdcfnt'
  61.  \fileversion\space <\filedate> (FMi and RmS)}
  62. \immediate
  63.  \write\sixt@@n{English Documentation
  64.   \@spaces\@spaces <\docdate> (FMi and RmS)}
  65.  \ifx\@latexerr\undefined\else
  66.  \@ifundefined{selectfont}
  67.      {\@latexerr{%
  68.        `nfdcfnt' style option can only be used
  69.         with the new font selection scheme}\@eha
  70.        \endinput}{}
  71.  \fi
  72. \def\newfont#1#2{\@ifdefinable#1{\global
  73.                         \font#1=#2\relax}}
  74. \def\symbol#1{\char #1\relax}
  75. \def\@gobbletwo#1#2{}
  76. \let\load\@gobbletwo
  77. \def\@setsize#1#2#3#4{\@nomath#1%
  78.     \ifx\protect\relax
  79.       \let\@currsize#1%
  80.     \fi
  81.     \fontsize{#4}{#2}\selectfont}
  82. \def\prm{\not@math@alphabet\rm\mathrm
  83.          \fontfamily\rmdefault\selectfont}
  84. \def\psf{\not@math@alphabet\sf\mathsf
  85.          \fontfamily\sfdefault\selectfont}
  86. \def\ptt{\not@math@alphabet\tt\mathtt
  87.          \fontfamily\ttdefault\selectfont}
  88. \def\psl{\not@math@alphabet\sl\relax
  89.          \fontshape\sldefault\selectfont}
  90. \def\psc{\not@math@alphabet\sc\relax
  91.          \fontshape\scdefault\selectfont}
  92. \def\pit{\not@math@alphabet\it\mathit
  93.          \fontshape\itdefault\selectfont}
  94. \def\pbf{\not@math@alphabet\bf\mathbf
  95.          \fontseries\bfdefault\selectfont}
  96. \def\em{\protect\pem}
  97. \def\pem{\@nomath\em \ifdim \fontdimen\@ne\font >\z@
  98.                        \normalshape \else \it \fi}
  99. \def\not@math@alphabet#1#2{%
  100.    \relax
  101.    \ifmmode
  102.      \ifx#2\relax
  103.        \errhelp{%
  104.             In NFSS fonts you need to define a new math alphabet^^J%
  105.             if you want to use a special font in math mode.%
  106.             }%
  107.      \else
  108.        \errhelp{%
  109.             Please use the math alphabet #2instead of
  110.             the #1command.%
  111.             }%
  112.      \fi
  113.      \errmessage{Don't use \noexpand#1in math mode}%
  114.    \fi}
  115. \DeclareMathAlphabet\mathbf{T1}{cmr}{bx}{n}
  116. \DeclareMathAlphabet\mathsf{T1}{cmss}{m}{n}
  117. \DeclareMathAlphabet\mathit{T1}{cmr}{m}{it}
  118. \DeclareMathAlphabet\mathtt{T1}{cmtt}{m}{n}
  119. \SetMathAlphabet\mathsf{bold}{T1}{cmss}{bx}{n}
  120. \SetMathAlphabet\mathit{bold}{T1}{cmr}{bx}{it}
  121.  \let\math@bgroup\begingroup
  122.  \def\math@egroup#1{#1\endgroup}
  123. \DeclareSymbolFont{operators}  {T1}{cmr}{m} {n}
  124. \SetSymbolFont{operators}{bold}{T1}{cmr}{bx}{n}
  125. \def\encodingdefault{T1}
  126. \def\rmdefault{cmr}
  127. \def\sfdefault{cmss}
  128. \def\ttdefault{cmtt}
  129. \ifx\symgreek\undefined
  130.   \DeclareSymbolFont{greek}{OT1}{cmr}{m}{n}
  131.   \SetSymbolFont{greek}{bold}{OT1}{cmr}{bx}{n}
  132.  
  133.   \DeclareMathSymbol\Gamma{\mathalpha}{greek}{"00}
  134.   \DeclareMathSymbol\Delta{\mathalpha}{greek}{"01}
  135.   \DeclareMathSymbol\Theta{\mathalpha}{greek}{"02}
  136.   \DeclareMathSymbol\Lambda{\mathalpha}{greek}{"03}
  137.   \DeclareMathSymbol\Xi{\mathalpha}{greek}{"04}
  138.   \DeclareMathSymbol\Pi{\mathalpha}{greek}{"05}
  139.   \DeclareMathSymbol\Sigma{\mathalpha}{greek}{"06}
  140.   \DeclareMathSymbol\Upsilon{\mathalpha}{greek}{"07}
  141.   \DeclareMathSymbol\Phi{\mathalpha}{greek}{"08}
  142.   \DeclareMathSymbol\Psi{\mathalpha}{greek}{"09}
  143.   \DeclareMathSymbol\Omega{\mathalpha}{greek}{"0A}
  144. \fi
  145. \DeclareMathAccent\acute{\mathalpha}{operators}{"01}
  146. \DeclareMathAccent\grave{\mathalpha}{operators}{"00}
  147. \DeclareMathAccent\ddot {\mathalpha}{operators}{"04}
  148. \DeclareMathAccent\tilde{\mathalpha}{operators}{"03}
  149. \DeclareMathAccent\bar  {\mathalpha}{operators}{"09}
  150. \DeclareMathAccent\breve{\mathalpha}{operators}{"08}
  151. \DeclareMathAccent\check{\mathalpha}{operators}{"07}
  152. \DeclareMathAccent\hat  {\mathalpha}{operators}{"02}
  153. \DeclareMathAccent\vec  {\mathord}{letters}{"7E}
  154. \DeclareMathAccent\dot  {\mathalpha}{operators}{"0A}
  155. \endinput
  156. %% 
  157. %% End of file `nfdcfnt.sty'.
  158.