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

  1. %% 
  2. %% This is file `nft1ot1.sty', generated 
  3. %% on <1993/8/16> with the docstrip utility (2.0r).
  4. %% 
  5. %% The original source files were:
  6. %% 
  7. %% nfaccdef.dtx  (with options: `OT1,T1')
  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{v1.0g}
  40. \def\filedate{93/08/16}
  41. \def\docdate {93/07/17}
  42. %% \CharacterTable
  43. %%  {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
  44. %%   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
  45. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  46. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  47. %%   Dollar        \$     Percent       \%     Ampersand     \&
  48. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  49. %%   Asterisk      \*     Plus          \+     Comma         \,
  50. %%   Minus         \-     Point         \.     Solidus       \/
  51. %%   Colon         \:     Semicolon     \;     Less than     \<
  52. %%   Equals        \=     Greater than  \>     Question mark \?
  53. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  54. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  55. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  56. %%   Right brace   \}     Tilde         \~}
  57. %%
  58. \immediate
  59.   \write\sixt@@n{Style-Option: `nft1ot1'
  60.  \fileversion\space <\filedate> (FMi and RmS)}
  61. \immediate
  62.  \write\sixt@@n{English Documentation
  63.   \@spaces\@spaces <\docdate> (FMi and RmS)}
  64.  \ifx\@latexerr\undefined\else
  65.  \@ifundefined{selectfont}%
  66.      {\@latexerr{%
  67.        `nft1ot1' style option can only be used
  68.         with the new font selection scheme}\@eha
  69.        \endinput}{}
  70.  \fi
  71. \DeclareFontEncoding{OT1}{%
  72. \def\"##1{{\accent"7F ##1}}%
  73. \def\'##1{{\accent19 ##1}}%
  74. \def\.##1{{\accent95 ##1}}%
  75. \def\=##1{{\accent22 ##1}}%
  76. \def\^##1{{\accent94 ##1}}%
  77. \def\`##1{{\accent18 ##1}}%
  78. \def\~##1{{\accent"7E ##1}}%
  79. \def\H##1{{\accent"7D ##1}}%
  80. \def\u##1{{\accent21 ##1}}%
  81. \def\v##1{{\accent20 ##1}}%
  82. \relax
  83. \chardef\ss="19
  84. \chardef\ae="1A
  85. \chardef\oe="1B
  86. \chardef\o="1C
  87. \chardef\AE="1D
  88. \chardef\OE="1E
  89. \chardef\O="1F
  90. \chardef\i="10 \chardef\j="11 % dotless letters
  91. \def\aa{\accent23a}%
  92. \def\l{\char32l}%
  93. \def\L{\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char32L}}%
  94. \def\_{\leavevmode \kern.06em \vbox{\hrule width.3em}}%
  95. \def\AA{\leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
  96.  \rlap{\raise.67\dimen@\hbox{\char'27}}A}%
  97. \def\pb##1{\oalign{##1\crcr\hidewidth
  98.     \vbox to.2ex{\hbox{\char22}\vss}\hidewidth}}%
  99. \def\b{\protect\pb}%
  100. \def\pc##1{\setbox\z@\hbox{##1}\ifdim\ht\z@=1ex\accent24 ##1%
  101.   \else{\ooalign{\unhbox\z@\crcr\hidewidth\char24\hidewidth}}\fi}%
  102. \relax
  103. \def\c{\protect\pc}%
  104. \def\P{\mathhexbox27B}%
  105. \def\S{\mathhexbox278}%
  106. \def\dag{\mathhexbox279}%
  107. \def\ddag{\mathhexbox27A}%
  108. \def\pounds{\protect\ppounds}%
  109. \let\cent\undefined
  110. \let\currency\undefined
  111. \let\guillemotleft\undefined
  112. \let\guillemotright\undefined
  113. \let\guilsinglleft\undefined
  114. \let\guilsinglright\undefined
  115. \let\quotedblbase\undefined
  116. \let\quotesinglbase\undefined
  117. \let\yen\undefined
  118. }{}
  119. \def\@accent@def#1#2#3{\expandafter\def
  120.        \csname @#1@\string#2@#1@\endcsname{#3}}\relax
  121. \def\@accent@use#1#2#3{%
  122.   \expandafter\ifx \csname @#1@\string#3@#1@\endcsname \relax
  123.       {\accent#2 #3}%
  124.     \else  \csname @#1@\string#3@#1@\endcsname\fi}\relax
  125. \DeclareFontEncoding{T1}{%
  126. \def\`{\@accent@use{grave}{0}}%
  127. \let\@accii=\`\relax
  128. \@accent@def{grave}{a}{^^e0}%
  129. \@accent@def{grave}{e}{^^e8}%
  130. \@accent@def{grave}{\i}{^^ec}%
  131. \@accent@def{grave}{i}{^^ec}%
  132. \@accent@def{grave}{o}{^^f2}%
  133. \@accent@def{grave}{u}{^^f9}%
  134. \@accent@def{grave}{A}{^^c0}%
  135. \@accent@def{grave}{E}{^^c8}%
  136. \@accent@def{grave}{I}{^^cc}%
  137. \@accent@def{grave}{O}{^^d2}%
  138. \@accent@def{grave}{U}{^^d9}%
  139. \relax
  140. \def\'{\@accent@use{acute}{1}}%
  141. \let\@acci=\'\relax
  142. \@accent@def{acute}{n}{^^ab}%
  143. \@accent@def{acute}{l}{^^a8}%
  144. \@accent@def{acute}{r}{^^af}%
  145. \@accent@def{acute}{s}{^^b1}%
  146. \@accent@def{acute}{z}{^^b9}%
  147. \@accent@def{acute}{a}{^^e1}%
  148. \@accent@def{acute}{e}{^^e9}%
  149. \@accent@def{acute}{\i}{^^ed}%
  150. \@accent@def{acute}{i}{^^ed}%
  151. \@accent@def{acute}{o}{^^f3}%
  152. \@accent@def{acute}{u}{^^fa}%
  153. \@accent@def{acute}{y}{^^fd}%
  154. \relax
  155. \@accent@def{acute}{N}{^^8b}%
  156. \@accent@def{acute}{L}{^^88}%
  157. \@accent@def{acute}{R}{^^8f}%
  158. \@accent@def{acute}{S}{^^91}%
  159. \@accent@def{acute}{Z}{^^99}%
  160. \@accent@def{acute}{A}{^^c1}%
  161. \@accent@def{acute}{E}{^^c9}%
  162. \@accent@def{acute}{I}{^^cd}%
  163. \@accent@def{acute}{O}{^^d3}%
  164. \@accent@def{acute}{U}{^^da}%
  165. \@accent@def{acute}{Y}{^^dd}%
  166. \@accent@def{acute}{c}{^^a2}%
  167. \@accent@def{acute}{C}{^^82}%
  168. \relax
  169. \def\v{\@accent@use{check}{7}}%
  170. \@accent@def{check}{c}{^^a3}%
  171. \@accent@def{check}{e}{^^a5}%
  172. \@accent@def{check}{n}{^^ac}%
  173. \@accent@def{check}{r}{^^b0}%
  174. \@accent@def{check}{s}{^^b2}%
  175. \@accent@def{check}{z}{^^ba}%
  176. \relax
  177. \@accent@def{check}{C}{^^83}%
  178. \@accent@def{check}{D}{^^84}%
  179. \@accent@def{check}{E}{^^85}%
  180. \@accent@def{check}{N}{^^8c}%
  181. \@accent@def{check}{R}{^^90}%
  182. \@accent@def{check}{S}{^^92}%
  183. \@accent@def{check}{T}{^^94}%
  184. \@accent@def{check}{Z}{^^9a}%
  185. \relax
  186. \def\u{\@accent@use{breve}{8}}%
  187. \@accent@def{breve}{a}{^^a0}%
  188. \@accent@def{breve}{g}{^^a7}%
  189. \@accent@def{breve}{A}{^^80}%
  190. \@accent@def{breve}{G}{^^87}%
  191. \def\=##1{{\accent9 ##1}}
  192. \let\@acciii=\=\relax
  193. \def\^{\@accent@use{circflx}{2}}%
  194. \@accent@def{circflx}{a}{^^e2}%
  195. \@accent@def{circflx}{e}{^^ea}%
  196. \@accent@def{circflx}{\i}{^^ee}%
  197. \@accent@def{circflx}{i}{^^ee}%
  198. \@accent@def{circflx}{o}{^^f4}%
  199. \@accent@def{circflx}{u}{^^fb}%
  200. \@accent@def{circflx}{A}{^^c2}%
  201. \@accent@def{circflx}{E}{^^ca}%
  202. \@accent@def{circflx}{I}{^^ce}%
  203. \@accent@def{circflx}{O}{^^d4}%
  204. \@accent@def{circflx}{U}{^^db}%
  205. \relax
  206. \def\.{\@accent@use{dot}{10}}%
  207. \@accent@def{dot}{z}{^^bb}%
  208. \@accent@def{dot}{Z}{^^9b}%
  209. \@accent@def{dot}{I}{^^9d}%
  210. \@accent@def{dot}{i}{i}%
  211. \relax
  212. \def\H{\@accent@use{Hung}{5}}%
  213. \@accent@def{Hung}{o}{^^ae}%
  214. \@accent@def{Hung}{u}{^^b6}%
  215. \@accent@def{Hung}{O}{^^8e}%
  216. \@accent@def{Hung}{U}{^^96}%
  217. \relax
  218. \def\~{\@accent@use{tilde}{3}}%
  219. \@accent@def{tilde}{a}{^^e3}%
  220. \@accent@def{tilde}{n}{^^f1}%
  221. \@accent@def{tilde}{o}{^^f5}%
  222. \@accent@def{tilde}{A}{^^c3}%
  223. \@accent@def{tilde}{N}{^^d1}%
  224. \@accent@def{tilde}{O}{^^d5}%
  225. \relax
  226. \def\"{\@accent@use{Umlaut}{4}}%
  227. \@accent@def{Umlaut}{a}{^^e4}%
  228. \@accent@def{Umlaut}{e}{^^eb}%
  229. \@accent@def{Umlaut}{\i}{^^ef}%
  230. \@accent@def{Umlaut}{i}{^^ef}%
  231. \@accent@def{Umlaut}{o}{^^f6}%
  232. \@accent@def{Umlaut}{u}{^^fc}%
  233. \@accent@def{Umlaut}{A}{^^c4}%
  234. \@accent@def{Umlaut}{E}{^^cb}%
  235. \@accent@def{Umlaut}{I}{^^cf}%
  236. \@accent@def{Umlaut}{O}{^^d6}%
  237. \@accent@def{Umlaut}{U}{^^dc}%
  238. \relax
  239. \def\pb##1{\oalign{##1\crcr\hidewidth
  240.     \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}}%
  241. \def\pc##1{\expandafter\ifx
  242.     \csname @cedilla@\string##1@cedilla@\endcsname \relax
  243.     \c@dilla##1\else \csname @cedilla@\string##1@cedilla@\endcsname\fi}%
  244. \@accent@def{cedilla}{s}{^^b3}%
  245. \@accent@def{cedilla}{t}{^^b5}%
  246. \@accent@def{cedilla}{c}{^^e7}%
  247. \@accent@def{cedilla}{S}{^^93}%
  248. \@accent@def{cedilla}{T}{^^95}%
  249. \@accent@def{cedilla}{C}{^^c7}%
  250. \relax
  251. \def\c@dilla##1{\setbox\z@\hbox{##1}\ifdim\ht\z@=1ex\accent11 ##1%
  252.   \else{\ooalign{\hidewidth\char11\hidewidth\crcr\unhbo