...

Superscript and Subscript

ivy
07-17-2002, 04:45 PM
Hi there

Could anyone possibly tell me whether it is possible to use super and subscript in html. Also, is it possible to use the Greek alphabet, i.e. alpha, beta (using symbols rather than English spelling).

Your help would be appreciated

See ya

Ivy

murphyz
07-17-2002, 05:01 PM
not sure about greek.

<sup>superscript</sup>
<sub>subscript</sub>

Mxx

murphyz
07-17-2002, 05:04 PM
try this (http://www.htmlhelp.com/reference/html40/entities/symbols.html)

Mxx

ivy
07-17-2002, 05:51 PM
HI murphyz

That's excellent... Thank you so much!

See ya

Ivy

Alex Vincent
07-18-2002, 03:16 AM
There are MathML entities for the Greek alphabet, and Unicode characters.

But, if you really want to keep it simple, use the Symbol font. :D

I can't remember what the XHTML/CSS code is for this off the top of my head, but I think you'd use:

<span style="font-family:Symbol">p</span> for pi.

Or you could just do what murphyz said... :) Incidentally, the only instance I can think of where you need both Greek characters and superscripts/subscripts is mathematics formulae... which MathML was written for. Perhaps you should try it, using the Amaya editor from the W3C...

ivy
07-19-2002, 05:28 PM
Hey A V

Thank you too! That's a great idea to use the symbol font.

I'll also check out the MathML entities.

Thank you once again

See ya

Ivy

ivy
08-02-2002, 09:24 PM
I know it's a while since this was originally posted, but I nearoly posted a message to see if anyone knew how to use the symbol font (all of it) in html.

Well, fear not, I will not ask that question, nut give you the answer - there has to be at least one other person who wants to use this font... All the codes are listed here:

http://www.hclrss.demon.co.uk/demos/symbol.html

The sites recommended above were good, but didn't have all teh symbols I needed. I am basically building a medical site and so I'm using a lot of maths and Greek symbols etc.

Hope this helps somebody else.

Quiet Storm
08-03-2002, 12:26 AM
Originally posted by murphyz
Mxx
__________________
"Imagination is more important than knowledge" A. Einstein


Hey, man... :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum