| 1 |
% mathematical symbols by Anthony Phan. |
| 2 |
% file: mathadrv.mf (driver file for matha serie) |
| 3 |
% last modification: May 16, 2005. |
| 4 |
|
| 5 |
mode_setup; |
| 6 |
|
| 7 |
math_setup; |
| 8 |
|
| 9 |
% Activate to allow characters with undefined code. |
| 10 |
% (for proof mode compilation) |
| 11 |
% let iff=always_iff; |
| 12 |
|
| 13 |
% BINARY OPERATORS, RELATIONS |
| 14 |
|
| 15 |
input mathasym; |
| 16 |
|
| 17 |
% RELATIONS |
| 18 |
|
| 19 |
% MISCELLANEOUS |
| 20 |
|
| 21 |
negation_sign := hex"20";% we're not making any text font |
| 22 |
dominated := hex"21"; |
| 23 |
dominating := hex"22"; |
| 24 |
hash_sign := hex"23"; |
| 25 |
|
| 26 |
not_sign := hex"7F"; |
| 27 |
|
| 28 |
%negation_sign := hex"26"; |
| 29 |
%reverse_negation_sign := hex"27"; |
| 30 |
|
| 31 |
vdash_sign := hex"24"; |
| 32 |
dashv_sign := hex"25"; |
| 33 |
vdash_not := hex"26"; |
| 34 |
dashv_not := hex"27"; |
| 35 |
vDash_sign := hex"28"; |
| 36 |
Dashv_sign := hex"29"; |
| 37 |
vDash_not := hex"2A"; |
| 38 |
Dashv_not := hex"2B"; |
| 39 |
Vdash_sign := hex"2C"; |
| 40 |
dashV_sign := hex"2D"; |
| 41 |
Vdash_not := hex"2E"; |
| 42 |
dashV_not := hex"2F"; |
| 43 |
% hex"30"...hex"35", numerals... |
| 44 |
|
| 45 |
degree_sign := hex"30"; |
| 46 |
prime_sign := hex"31"; |
| 47 |
second_sign := hex"32"; |
| 48 |
third_sign := hex"33"; |
| 49 |
fourth_sign := hex"34"; |
| 50 |
|
| 51 |
ligtable prime_sign : prime_sign =: second_sign; |
| 52 |
ligtable second_sign : prime_sign =: third_sign; |
| 53 |
ligtable third_sign : prime_sign =: fourth_sign; |
| 54 |
|
| 55 |
musical_flat_sign := hex"35"; |
| 56 |
musical_natural_sign := hex"36"; |
| 57 |
musical_sharp_sign := hex"37"; |
| 58 |
|
| 59 |
% mathfine.mf |
| 60 |
|
| 61 |
Infinity := hex"38"; |
| 62 |
proportionnal_to := hex"39"; |
| 63 |
dagger := hex"3A"; |
| 64 |
double_dagger := hex"3B"; |
| 65 |
|
| 66 |
% mathbigs.mf |
| 67 |
|
| 68 |
small_summation_sign := hex"3C"; |
| 69 |
small_product_sign := hex"3D"; |
| 70 |
small_coproduct_sign := hex"3E"; |
| 71 |
radical_sign := hex"3F"; |
| 72 |
|
| 73 |
% upper_asterisk := hex"3A"; lower_asterisk := hex"3B"; |
| 74 |
% triple_asterisk := hex"3C"; |
| 75 |
% colon_sign := hex"5B"; |
| 76 |
|
| 77 |
Dominated := hex"CE"; |
| 78 |
Dominating := hex"CF"; |
| 79 |
|
| 80 |
% LETTER LIKE SYMBOLS |
| 81 |
|
| 82 |
% mathltlk.mf |
| 83 |
|
| 84 |
for_all := hex"40"; |
| 85 |
complement := hex"41"; |
| 86 |
partial := hex"42"; |
| 87 |
partial_slash := hex"43"; |
| 88 |
there_exists := hex"44"; |
| 89 |
there_not_exists := hex"45"; |
| 90 |
F_inverse := hex"46"; |
| 91 |
G_inverse := hex"47"; |
| 92 |
empty_set := hex"48"; |
| 93 |
diameter_sign := hex"49"; |
| 94 |
top_sign := hex"4A"; |
| 95 |
bot_sign := hex"4B"; |
| 96 |
not_top_sign := hex"4C"; |
| 97 |
not_bot_sign := hex"4D"; |
| 98 |
wedge_curly := hex"4E"; |
| 99 |
vee_curly := hex"4F"; |
| 100 |
%%%%%%%% Q_inverse := hex"4A"; |
| 101 |
%%%%%%%% Bourbaki_Z := hex"4F"; |
| 102 |
|
| 103 |
belong_to := hex"50"; |
| 104 |
not_belong_to := hex"52"; |
| 105 |
var_not_belong_to := hex"54"; |
| 106 |
belong_to_bar := hex"56"; |
| 107 |
rev_belong_to := hex"51"; |
| 108 |
not_rev_belong_to := hex"53"; |
| 109 |
var_not_rev_belong_to := hex"55"; |
| 110 |
rev_belong_to_bar := hex"57"; |
| 111 |
|
| 112 |
cap_sign := hex"58"; |
| 113 |
cup_sign := hex"59"; |
| 114 |
cup_plus := hex"5A"; |
| 115 |
sqcap_sign := hex"5B"; |
| 116 |
sqcup_sign := hex"5C"; |
| 117 |
sqcup_plus := hex"5D"; |
| 118 |
wedge_sign := hex"5E"; |
| 119 |
vee_sign := hex"5F"; |
| 120 |
|
| 121 |
% DELIMITERS |
| 122 |
|
| 123 |
paren_left := hex"70"; |
| 124 |
paren_right := hex"71"; |
| 125 |
bracket_left := hex"72"; |
| 126 |
bracket_right := hex"73"; |
| 127 |
brace_left := hex"74"; |
| 128 |
brace_right := hex"75"; |
| 129 |
bbbracket_left := hex"76"; |
| 130 |
bbbracket_right := hex"77"; |
| 131 |
angle_left := hex"78"; |
| 132 |
angle_right := hex"79"; |
| 133 |
backslash := hex"7A"; |
| 134 |
slash := hex"7B"; |
| 135 |
vert_sign := hex"7C"; |
| 136 |
vvert_sign := hex"7D"; |
| 137 |
vvvert_sign := hex"7E"; |
| 138 |
|
| 139 |
% TRIANGLES AS RELATIONS |
| 140 |
|
| 141 |
triangle_left := hex"98"; triangle_right := hex"99"; |
| 142 |
not_triangle_left := hex"9A"; not_triangle_right := hex"9B"; |
| 143 |
triangle_left_eq := hex"9C"; triangle_right_eq := hex"9D"; |
| 144 |
not_triangle_left_eq := hex"9E"; not_triangle_right_eq := hex"9F"; |
| 145 |
|
| 146 |
% ARROWS and HARPOONS |
| 147 |
|
| 148 |
arrow_left := hex"D0"; |
| 149 |
arrow_right := hex"D1"; |
| 150 |
arrow_up := hex"D2"; |
| 151 |
arrow_down := hex"D3"; |
| 152 |
arrow_northwest := hex"D4"; |
| 153 |
arrow_northeast := hex"D5"; |
| 154 |
arrow_southwest := hex"D6"; |
| 155 |
arrow_southeast := hex"D7"; |
| 156 |
arrow_left_right := hex"D8"; |
| 157 |
arrow_up_down := hex"D9"; |
| 158 |
arrow_left_not := hex"DA"; |
| 159 |
arrow_right_not := hex"DB"; |
| 160 |
arrow_left_right_not := hex"DC"; |
| 161 |
|
| 162 |
relbar_char := hex"DD"; |
| 163 |
maps_to_char := hex"DE"; |
| 164 |
maps_from_char := hex"DF"; |
| 165 |
|
| 166 |
harpoon_left_up := hex"E0"; |
| 167 |
harpoon_right_up := hex"E1"; |
| 168 |
harpoon_left_down := hex"E2"; |
| 169 |
harpoon_right_down := hex"E3"; |
| 170 |
harpoon_up_left := hex"E4"; |
| 171 |
harpoon_down_left := hex"E5"; |
| 172 |
harpoon_up_right := hex"E6"; |
| 173 |
harpoon_down_right := hex"E7"; |
| 174 |
harpoons_left_right := hex"E8"; |
| 175 |
harpoons_right_left := hex"E9"; |
| 176 |
harpoons_up_down := hex"EA"; |
| 177 |
harpoons_down_up := hex"EB"; |
| 178 |
|
| 179 |
double_arrow_left := hex"F0"; |
| 180 |
double_arrow_right := hex"F1"; |
| 181 |
double_arrow_up := hex"F2"; |
| 182 |
double_arrow_down := hex"F3"; |
| 183 |
double_arrow_left_right := hex"F4"; |
| 184 |
double_arrow_up_down := hex"F5"; |
| 185 |
double_arrow_left_not := hex"F6"; |
| 186 |
double_arrow_right_not := hex"F7"; |
| 187 |
double_arrow_left_right_not := hex"F8"; |
| 188 |
Relbar_char := hex"F9"; |
| 189 |
Maps_to_char := hex"FA"; |
| 190 |
Maps_from_char := hex"FB"; |
| 191 |
|
| 192 |
% let the show begin : |
| 193 |
|
| 194 |
input mathltlk; |
| 195 |
input mathfine; |
| 196 |
input mathbigs; |
| 197 |
input mathsmsy; |
| 198 |
input mathsymb; |
| 199 |
input matharrw; |
| 200 |
input mathbdel; |
| 201 |
|
| 202 |
main_name_string := "subset"; |
| 203 |
t := hex"80"; |
| 204 |
forsuffixes $=, _not, _eq, _not_eq, _eq_not, |
| 205 |
_eq_varnot, _eqq, _not_eqq, _eqq_not, _eqq_varnot, |
| 206 |
_double, _double_not: |
| 207 |
main_name_with($) := t; t := t+2; endfor; |
| 208 |
input mathsubs; |
| 209 |
|
| 210 |
main_name_string := "supset"; |
| 211 |
t := hex"81"; |
| 212 |
forsuffixes $=, _not, _eq, _not_eq, _eq_not, |
| 213 |
_eq_varnot, _eqq, _not_eqq, _eqq_not, _eqq_varnot, |
| 214 |
_double, _double_not: |
| 215 |
main_name_with($) := t; t := t+2; endfor; |
| 216 |
input mathsubs; |
| 217 |
|
| 218 |
main_name_string := "less"; |
| 219 |
t := hex"A0"; |
| 220 |
forsuffixes $=, _not, _slant, _not_slant, |
| 221 |
_eq, _not_eq, _eq_not, %_eqvarnot, |
| 222 |
_eqq, _not_eqq, _eqq_not, _eqq_varnot, |
| 223 |
_upperslant, _not_upperslant, |
| 224 |
_opposite, _eq_opposite, _eqq_opposite, |
| 225 |
_sim, _not_sim, _sim_not, _approx, _not_approx, _approx_not, _dot: |
| 226 |
main_name_with($) := t; t := t+2; endfor; |
| 227 |
input mathineq; |
| 228 |
|
| 229 |
main_name_string := "greater"; |
| 230 |
t := hex"A1"; |
| 231 |
forsuffixes $=, _not, _slant, _not_slant, |
| 232 |
_eq, _not_eq, _eq_not, %_eq_varnot, |
| 233 |
_eqq, _not_eqq, _eqq_not, _eqq_varnot, |
| 234 |
_upperslant, _not_upperslant, |
| 235 |
_opposite, _eq_opposite, _eqq_opposite, |
| 236 |
_sim, _not_sim, _sim_not, _approx, _not_approx, _approx_not, _dot: |
| 237 |
main_name_with($) := t; t := t+2; endfor; |
| 238 |
input mathineq; |
| 239 |
|
| 240 |
main_name_string := "mcircle";% ``m'' stands for medium. |
| 241 |
t := hex"60"; |
| 242 |
forsuffixes $=_plus, _minus, _times, _division, |
| 243 |
_dot, _circle, _asterisk, _co_asterisk, |
| 244 |
_left, _right, _top, _bot, |
| 245 |
_sign, _slash, _backslash, _triangle_up: |
| 246 |
main_name_with($) := t; t := t+1; endfor; |
| 247 |
input mathmbcb; |
| 248 |
|
| 249 |
% see also: |
| 250 |
% _peace_and_love, _ying_yang, |
| 251 |
% _truc, _curt, _full_circle, _five_star, _six_star, |
| 252 |
% _triangle_down, _triangle_left, _triangle_right, |
| 253 |
% _top_dot_minus, _bot_dot_minus, _horiz, _vert, _cross, _across, |
| 254 |
% _wedge, _vee, |
| 255 |
% _black_left, _black_right, _black_top, _black_bot, |
| 256 |
% _black_northwest, _black_northeast, _black_southwest, _black_southeast: |
| 257 |
|
| 258 |
|
| 259 |
% parameters for TFM files. |
| 260 |
|
| 261 |
font_slant=0; |
| 262 |
font_x_height=x_height#; |
| 263 |
%font_normal_stretch=3u#; |
| 264 |
%font_normal_shrink=2u#; |
| 265 |
font_quad=18u#+4letter_fit#; |
| 266 |
font_extra_space=2u#; |
| 267 |
font_normal_space=6u#+2letter_fit#; |
| 268 |
|
| 269 |
end. |
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
|