home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / text / tex / pastex / macros / misc / wasyfont.tex < prev   
Text File  |  1994-06-07  |  6KB  |  173 lines

  1. % this is wasyfont.tex version 2.01--92/10
  2. \font\tenwasy = wasy10
  3. \font\wasyb = wasyb10
  4. \font\ninewasy = wasy9
  5. \font\eightwasy = wasy8
  6. \font\sevenwasy = wasy7
  7. \font\fivewasy = wasy5
  8. \newfam\wasyfam
  9. \newcount\wasyfamcount
  10. \wasyfamcount=\wasyfam \multiply\wasyfamcount by 256
  11. \def\wasy{\fam\wasyfam\tenwasy}
  12. \textfont\wasyfam=\tenwasy
  13. \scriptfont\wasyfam=\sevenwasy
  14. \scriptscriptfont\wasyfam=\fivewasy
  15. %%%%%% special macro
  16. \def\overstrike#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
  17.     $#1$\hss}\kern-\wd0\box0}}
  18. %%%%%% special symbols
  19. \def\male{\hbox{\wasy\char"1A}}
  20. \def\female{\hbox{\wasy\char"19}}
  21. \def\currency{{\wasy\char"1B}}
  22. \def\phone{{\wasy\char"07}}
  23. \def\recorder{{\wasy\char"06}}
  24. \def\clock{{\wasy\char"1C}}
  25. \def\lightning{{\wasy\char"12}}
  26. \def\pointer{{\wasy\char"09}}
  27. \def\RIGHTarrow{{\wasy\char"11}}
  28. \def\LEFTarrow{{\wasy\char"10}}
  29. \def\UParrow{{\wasy\char"4B}}
  30. \def\DOWNarrow{{\wasy\char"4C}}
  31. \def\AC{\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
  32. \def\HF{\lower0.9pt\hbox to 0pt{\kern0.5pt\wasy\char"3A\hss}%
  33.         \raise0.9pt\hbox{\kern0.5pt\wasy\char"3A\kern0.5pt}}
  34. \def\VHF{\hbox{\wasy\char"40}}
  35. \def\Box{\hbox{\wasy\char"32}}\let\Square\Box
  36. \def\XBox{\hbox{\wasy\char"34}}
  37. \def\Diamond{\hbox{\wasy\char"33}}
  38. \def\hexagon{\hbox{\wasy\char"37}}
  39. \def\pentagon{\hbox{\wasy\char"44}}
  40. \def\octagon{\hbox{\wasy\char"38}}
  41. \def\varhexagon{\hbox{\wasy\char"39}}
  42. \def\hexstar{\hbox{\wasy\char"41}}
  43. \def\varhexstar{\hbox{\wasy\char"42}}
  44. \def\davidsstar{\hbox{\wasy\char"43}}
  45. \def\diameter{\hbox{\wasy\char"1F}}
  46. \def\invdiameter{\hbox{\wasy\char"15}}
  47. \def\varangle{\hbox{\wasy\char"1E}}
  48. \def\lozenge{\hbox{\wasy\char"35}}
  49. \def\kreuz{\hbox{\wasy\char"36}}
  50. \def\smiley{\hbox{\wasy\char"2C}}
  51. \def\frownie{\hbox{\wasy\char"2F}}
  52. \def\blacksmiley{\hbox{\wasy\char"2D}}
  53. \def\sun{\hbox{\wasy\char"2E}}
  54. \def\checked{\hbox{\wasy\char"08}}
  55. \def\bell{\hbox{\wasy\char"0A}}
  56. \def\eighthnote{\hbox{\wasy\char"0B}}
  57. \def\quarternote{\hbox{\wasy\char"0C}}
  58. \def\halfnote{\hbox{\wasy\char"0D}}
  59. \def\fullnote{\hbox{\wasy\char"0E}}
  60. \def\twonotes{\hbox{\wasy\char"0F}}
  61. \def\brokenvert{\hbox{\wasy\char"7C}}
  62. \def\therefore{\hbox{\wasy\char"05}}
  63. \def\ataribox{\hbox{\wasy\char"6D}}
  64. \def\Circle{\hbox{\wasy\char"23}}
  65. \def\CIRCLE{\hbox{\wasy\char"20}}
  66. \def\Leftcircle{\hbox{\wasy\char"49}}
  67. \def\LEFTCIRCLE{\hbox{\wasy\char"47}}
  68. \def\Rightcircle{\hbox{\wasy\char"4A}}
  69. \def\RIGHTCIRCLE{\hbox{\wasy\char"48}}
  70. \def\LEFTcircle{\hbox to 0pt{\wasy\char"47\hss}\hbox{\wasy\char"23}}
  71. \def\RIGHTcircle{\hbox to 0pt{\wasy\char"48\hss}\hbox{\wasy\char"23}}
  72. %%%%%% astronomy
  73. \def\vernal{\hbox{\wasy\char"17}}
  74. \def\ascnode{\hbox{\wasy\char"13}}
  75. \def\descnode{\hbox{\wasy\char"14}}
  76. \def\fullmoon{\hbox{\wasy\char"23}}
  77. \def\newmoon{\hbox{\wasy\char"20}}
  78. \def\leftmoon{\hbox{\wasy\char"24}}
  79. \def\rightmoon{\hbox{\wasy\char"25}}
  80. \def\astrosun{\hbox{\tensy\char"0C}}
  81. \def\mercury{\hbox{\wasy\char"27}}
  82. \def\venus{\raise0.2ex\hbox{\wasy\char"19}}
  83. \def\earth{\lower0.3ex\hbox{\wasy\char"26}}
  84. \def\mars{\lower0.2ex\hbox{\wasy\char"1A}}
  85. \def\jupiter{\hbox{\wasy\char"58}}
  86. \def\saturn{\hbox{\wasy\char"59}}
  87. \def\uranus{\hbox{\wasy\char"5A}}
  88. \def\neptune{\hbox{\wasy\char"5B}}
  89. \def\pluto{\hbox{\wasy\char"5C}}
  90. \def\conjunction{\hbox{\wasy\char"56}}
  91. \def\opposition{\hbox{\wasy\char"57}}
  92. %%%%%% the zodiac
  93. \def\aries{\hbox{\wasy\char"17}}
  94. \def\taurus{\hbox{\wasy\char"5D}}
  95. \def\gemini{\hbox{\wasy\char"5E}}
  96. \def\cancer{\hbox{\wasy\char"5F}}
  97. \def\leo{\hbox{\wasy\char"13}}
  98. \def\virgo{\hbox{\wasy\char"60}}
  99. \def\libra{\hbox{\wasy\char"61}}
  100. \def\scorpio{\hbox{\wasy\char"62}}
  101. \def\sagittarius{\hbox{\wasy\char"63}}
  102. \def\capricornus{\hbox{\wasy\char"64}}
  103. \def\aquarius{\hbox{\wasy\char"65}}
  104. \def\pisces{\hbox{\wasy\char"66}}
  105. %%%%%% APL characters
  106. \def\APLstar{{\hbox{\wasy\char"45}}}
  107. \def\APLlog{{\hbox{\wasy\char"16}}}
  108. \def\APLbox{{\hbox{\wasy\char"7E}}}
  109. \def\APLup{{\hbox{\wasy\char"00}}}
  110. \def\APLdown{{\hbox{\wasy\char"46}}}
  111. \def\APLinput{{\hbox{\wasy\char"7D}}}
  112. \def\APLcomment{{\hbox{\wasy\char"7F}}}
  113. \def\APLinv{{\hbox to 0pt{\tensy\char"04\hss}\APLbox}}
  114. \def\APLuparrowbox{{\hbox{\wasy\char"6E}}}
  115. \def\APLdownarrowbox{{\hbox{\wasy\char"6F}}}
  116. \def\APLleftarrowbox{{\hbox{\wasy\char"70}}}
  117. \def\APLrightarrowbox{{\hbox{\wasy\char"71}}}
  118. \def\notbackslash{\overstrike{\backslash}{-}}
  119. \def\notslash{\overstrike{/}{-}}
  120. \def\APLnot#1{\overstrike{\sim}{#1}}
  121. \def\APLcirc#1{\overstrike{\circ}{#1}}
  122. \def\APLvert#1{\overstrike{\vert}{#1}}
  123. \def\APLminus{\raise0.7ex\hbox{$-$}}
  124. %%%%%% diagrams
  125. \def\photon{\hbox{\wasy\char"3A\char"3A\char"3A\char"3A}}
  126. \def\gluon{\hbox{\wasy\char"51\char"50\char"50\char"50%
  127.     \char"50\char"50\char"50\char"52}}
  128. %%%%%% math characters
  129. \def\Bowtie{\hbox{\wasy\char"31}}
  130. \def\leftturn{\hbox{\wasy\char"22}}
  131. \def\rightturn{\hbox{\wasy\char"21}}
  132. %%%%%% special characters
  133. \def\cent{\hbox{\wasy\char"67}}
  134. \def\permil{\hbox{\wasy\char"68}}
  135. \def\agemO{{\wasy\char"30}}
  136. \def\thorn{{\wasy\char"69}}
  137. \def\Thorn{{\wasy\char"6A}}
  138. \def\dh{{\wasy\char"6B}}
  139. \def\Dh{\leavevmode{\rm\setbox0\hbox{D}%
  140.     \hbox to\wd0{\kern 0.04em\char32\hss D}}}
  141. \def\openo{{\wasy\char"6C}}
  142. \def\inve{{\wasy\char"55}}
  143. %%%%%% math operators as mathchars
  144. \def\wasymathchardef#1#2{%
  145.     \count255=\wasyfamcount
  146.     \advance\count255 by"#1
  147.     \mathchardef#2\count255}
  148. \wasymathchardef{3001}{\lhd}
  149. \wasymathchardef{3003}{\rhd}
  150. \wasymathchardef{3010}{\LHD}
  151. \wasymathchardef{3011}{\RHD}
  152. \wasymathchardef{3002}{\unlhd}
  153. \wasymathchardef{3004}{\unrhd}
  154. \wasymathchardef{303C}{\sqsubset}
  155. \wasymathchardef{303D}{\sqsupset}
  156. \wasymathchardef{303E}{\apprle}
  157. \wasymathchardef{303F}{\apprge}
  158. \wasymathchardef{301D}{\varpropto}
  159. \wasymathchardef{0018}{\invneg}
  160. \wasymathchardef{303B}{\leadsto}
  161. \wasymathchardef{2023}{\ocircle}
  162. \wasymathchardef{3016}{\logof}
  163. \wasymathchardef{1072}{\varint}
  164. \wasymathchardef{1073}{\iint}
  165. \wasymathchardef{1074}{\iiint}
  166. \wasymathchardef{1075}{\varoint}
  167. \wasymathchardef{1076}{\oiint}
  168. %
  169. %%%%%% new definitions
  170. %
  171. \def\newpropto{\let\propto\varpropto}
  172. \def\newint{\let\int\varint \let\oint\varoint} % default limits
  173.