home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / programs / amiga / pastex / macros / distribs / nfss / basefont.tex < prev    next >
Text File  |  1992-11-29  |  4KB  |  113 lines

  1. %% 
  2. %% This is file `basefont.tex', generated 
  3. %% on <1992/9/24> with the docstrip utility (2.0r).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% basefont.doc  (with options: `basef')
  8. %% 
  9. %% Copyright (C) 1989-1992 by Frank Mittelbach, Rainer Schoepf. 
  10. %% All rights reserved. 
  11. %% 
  12. %% This file is part of the NFSS (New Font Selection Scheme) package. 
  13. %% 
  14. %% IMPORTANT NOTICE: 
  15. %% 
  16. %% You are not allowed to change this file. You may however copy 
  17. %% this file to a file with a different name and then change the copy 
  18. %% if you obey the restrictions on file changes described in 
  19. %% readme.mz. 
  20. %% 
  21. %% You are allowed to distribute this file under the condition that 
  22. %% it is distributed together with all files mentioned in readme.mz3. 
  23. %% If you receive only some of these files from someone, complain! 
  24. %% 
  25. %% You are NOT ALLOWED to distribute this file alone. You are NOT 
  26. %% ALLOWED to take money for the distribution or use of either this 
  27. %% file or a changed version, except for a nominal charge for copying 
  28. %% etc. 
  29. %% 
  30. %% For error reports in case of UNCHANGED versions see readme files. 
  31. %% 
  32. %% Please do not request updates from us directly. Distribution is 
  33. %% done through Mail-Servers and TeX organizations. 
  34. %% 
  35. \def\fileversion{v1.4d}
  36. \def\filedate{92/09/22}
  37. \def\docdate {92/09/22}
  38.  
  39. %% \CheckSum{626}
  40. %% \CharacterTable
  41. %%  {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
  42. %%   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
  43. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  44. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  45. %%   Dollar        \$     Percent       \%     Ampersand     \&
  46. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  47. %%   Asterisk      \*     Plus          \+     Comma         \,
  48. %%   Minus         \-     Point         \.     Solidus       \/
  49. %%   Colon         \:     Semicolon     \;     Less than     \<
  50. %%   Equals        \=     Greater than  \>     Question mark \?
  51. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  52. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  53. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  54. %%   Right brace   \}     Tilde         \~}
  55. %%
  56. \immediate
  57.  \write\sixt@@n{File: `basefont' \@spaces
  58.  \fileversion\space <\filedate> (FMi and RmS)}
  59. \immediate
  60.  \write\sixt@@n{English Documentation
  61.           \@spaces\space <\docdate> (FMi and RmS)}
  62. \def\newfont#1#2{\@ifdefinable#1{\global
  63.                         \font#1=#2\relax}}
  64. \def\symbol#1{\char #1\relax}
  65. \def\@gobbletwo#1#2{}
  66. \let\load\@gobbletwo
  67. \def\@setsize#1#2#3#4{\@nomath#1%
  68.     \ifx\protect\relax
  69.       \let\@currsize#1%
  70.     \fi
  71.     \fontsize{#4}{#2}\selectfont}
  72. \def\prm{\not@math@alphabet\rm\mathrm
  73.          \fontfamily\rmdefault\selectfont}
  74. \def\psf{\not@math@alphabet\sf\mathsf
  75.          \fontfamily\sfdefault\selectfont}
  76. \def\ptt{\not@math@alphabet\tt\relax
  77.          \fontfamily\ttdefault\selectfont}
  78. \def\psl{\not@math@alphabet\sf\relax
  79.          \fontshape\sldefault\selectfont}
  80. \def\psc{\not@math@alphabet\sc\relax
  81.          \fontshape\scdefault\selectfont}
  82. \def\pit{\not@math@alphabet\it\relax
  83.          \fontshape\itdefault\selectfont}
  84. \def\pbf{\not@math@alphabet\bf\mathbf
  85.          \fontseries\bfdefault\selectfont}
  86. \def\em{\protect\pem}
  87. \def\pem{\@nomath\em \ifdim \fontdimen\@ne\font >\z@
  88.                        \normalshape \else \it \fi}
  89. \def\not@math@alphabet#1#2{%
  90.    \ifmmode
  91.      \ifx#2\relax
  92.        \errhelp{%
  93.             In NFSS fonts you need to define a new math alphabet^^J%
  94.             if you want to use a special font in math mode.%
  95.             }%
  96.      \else
  97.        \errhelp{%
  98.             Please use the math alphabet #2instead of
  99.             the #1command.%
  100.             }%
  101.      \fi
  102.      \errmessage{Command \noexpand#1not supported in math mode}%
  103.    \fi}
  104. \ifx\bffam\@undefined
  105.   \new@mathgroup\bffam
  106.   \new@mathgroup\sffam
  107. \fi
  108. \new@internalmathalphabet\mathbf\bffam{cmr}{bx}{n}
  109. \new@internalmathalphabet\mathsf\sffam{cmss}{m}{n}
  110. \endinput
  111. %% 
  112. %% End of file `basefont.tex'.
  113.