| Home Page | About Me | ||
| Philosophy | Friends' Web Pages | Caving | Photography |
| Fractals | Comets | SciFi/Fantasy/RPG | Mathematics |
| Space Science | The Codex | ||
| Science Links | Space Science Links | Physics Links | Other Links |
There is a lot that can be done for math symbols with HTML. A lot of it doesn't get press because no one uses the formatting tags. To figure out how I did anything on this page, click "view page source" and check out how I finagled the solution. Everything I present first does not use special fonts. To do more than that, scroll down to the second section, "Speaking Greek".
If it seems like I am really not making sense because the math I'm talking about does not seem to correspond with what is on the page, or the symbols I am claiming to be using are not right or "broken," then e-mail me at iareth@io.com and tell me. Web browsers are like screwdrivers. They're not quite standardized. You've got your "Phillips" web browser and your "flat head" web browser - and knowing that, you think you have it all figured out. Then you find some "Alan" code, and everything stops.
Algebra notation can be accomplished well, with exceptions, for example, the equation:
The big killer in HTML is fraction notation, but the fraction

can be rendered in one line as:
(x2 - y2)/(x2 + y2)0.5 or;
(x2 - y2)/(x2 + y2)1/2 or;
(x2 - y2)·(x2 + y2)-1/2 etc.
Now obviously you can use an image, as I did for the original fraction, and this is common on many pages. To do this, follow the following rules:
1: Create a new image in whatever image processor you use, such as Corel or Photoshop. Your image processor needs to be able to save images as transparent GIF files, or something equivalent, such as PNG files. The new image needs to be 8 bit, or "palated color."
2: Use the text generator feature to type in the separate lines of your fraction (x2 - y2 and x2 + y2 in the example above) and the fraction bar. You should need to use 12 point type, since this is what default browser fonts are usually set to. However, paint programs are notorious for handling font size changes by blurring the images. You may need to start with a large size then reduce it, making sure the "anti-aliasing" option is turned off when resampling the image. If you can't force it to work, use the HEIGHT and WIDTH commands in HTML to change it, which is what I had to do above.
3: Use object move or cut & paste functions to move the pieces to where they are desired.
4: Crop the image to as close as the expression as you can on all four sides without cutting into it.
5: Save the image as a transparent GIF, using the background as your transparency color.
6: This image can now be called by HTML in line where needed. Cropping it close reduces the disturbance it generates in the text. When calling the image, use the ALIGN = CENTER option to make the center of the fraction bar more closely align with the text. If you generate images for each of your "problematical" expressions, you can then use them as many times as you want. The browser usually only needs to upload the image once, and it will then appear in all of its instantiations.
Some low quality fractions can be made with the underline (U) tag, but the underline creeps up into the superscripts in the top line, and of course you can't actually set this equal to anything and have it look nice. This is a disfunctional fraction. It only looks good when it's a little below or above everything else.
x - y
x2 + y2
Calculus notation is done in a similar fashion to the rest of algebra, e.g.
Just make sure you let your audience know what you're doing when you use a substitute symbol.
Matrix elements are harder, but still clear:
Operator notation has to be simulated, but because of the built-in Icelandic capability of Word and HTML, you can get some close symbols. For instance, if you let ð be the partial differential operator, you can get:
If you let Ð gradient operator and £ = Delambertian operator, you can simplify wave equations:
(ð2/ðx2 + ð2/ðy2 + ð2/ðz2 - ð2/(cðt)2)V = 0
or
ðV2/ðx2 + ðV2/ðy2 + ðV2/ðz2 = ðV2/(cðt)2
so they become:
Ð2V - ðV2/(cðt)2 = £2V = 0
You can even use an unuseð ASCII coðe, since most HTML readers render these as boxes, to get
2V = 0
(The characters Ð and ð represent magiscule and miniscule letters for the "th" sound in English "then"; Þ and þ represent the "th" in "thin." "Ðen ðis þin þinkr þot 'ðat's enuff!'")
Here are some unusual symbols gleened from the Web:
§ ³ Ð ð ° ¹ (r) 1/4 3/4 ± ß Ø ø · ¸ ¦ × Þ þ Æ æ ¯ » ¢
There is a FONT FACE command in HTML that is supposed to get any font installed on the system where the web browser is running. You have to have your browser configured to allow user defined fonts in order for this to work. If you have done this and have the standard Symbol font installed, the following line will be in Greek:
Caire ¢Hduqae
Well, pretty good Greek, anyway. Symbol doesn't support Greek accent marks.
The Symbol keyboard looks like this:
~ ! @ # $ % ^ & * ( ) _ +
` 1 2 3 4 5 6 7 8 9 0 - =
Q W E R T Y U I O P { }
A S D F G H J K L : "
Z X C V B N M < > ?
q w e r t y u i o p [ ]
a s d f g h j k l ; '
z x c v b n m , . /
| 128 Ç | 129 ü | 130 é | 131 â | 132 ä | 133 à |
| 134 å | 135 ç | 136 ê | 137 ë | 138 è | 139 ï |
| 140 î | 141 ì | 142 Ä | 143 Å | 144 É | 145 æ |
| 146 Æ | 147 ô | 148 ö | 149 ò | 150 û | 151 ù |
| 153 Ö | 154 Ü | 155 ¢ | 156 £ | 157 ¥ | 158 P |
| 160 á | 161 í | 162 ó | 163 ú | 164 ñ | 165 Ñ |
| 166 ª | 167 º | 168 ¿ | 169 _ | 170 ¬ | 171 1/2 |
| 172 1/4 | 173 ¡ | 174 « | 175 » | 176 _ | 179 ¦ |
| 183 + | 224 _ | 225 ß | 227 ¶ | 230 µ | 240 _ |
| 241 ± | 246 ÷ | 248 ° | 250 · | 252 n | 253 ² |
Not all, by far, of the symbols available using the "Insert Symbol" command in Word, are available in the symbol font as ## 0-255. You cannot, at least under Windows, reliably use the insert symbol command, save the file as text, and have it come out right when converted back online by a FONT FACE command. But you can cut and paste the symbols off of this page and use the resulting latin characters - maybe. We're now entering the territory of Internet legerdemain. In any case, now you can say
Some more equations, while "speaking Greek."
______
2ax = -b ±Öb2 - 4ac
Lots of underlining and clever spacing. This may not work in some browsers.
Ñ2J = 0
¥
å xn/n! = ex
This doesn't work so well.
n = 0
"x($y; y = x + 1)
- h2/8p2mÑ2Y + VY = ¶2/¶t2Y
Those who recognize the Schrödinger Equation know there is a famous symbol missing from the character set.
áxñ = ƒƒƒrcosfsinq|Ylm|2Rnl2drd(cosq)df = 0
UGIAINE