This is a chart of the Adobe Symbol Font:
Logicians should be satisfied if the characters with a yellow background are supported in HTML. (Symbols with a white background have long been supported by HTML or are not whole "characters".)
This hope is now realized with HTML 4.0. See Alan Wood's excellent guide to the symbols available in HTML 4.0. So now energy must be shifted to Netscape and Microsoft. When will their browsers support this advance?
It's not enough that your personal browser support HTML 4.0. Your readers' browsers must do so as well. This day may be long in coming.
Until then, you can get all the symbols in yellow above if you specify the Symbol font in an HTML tag. For example, this code
p <font face="Symbol">É</font> q produces this outputp É q Your reader must have the Symbol font installed, but this is assured for nearly all Windows users. The results are iffy for Mac and UNIX users. For a helpful table showing which codes produce which symbols, see Alan Wood's guide to the Symbol font.
Since most users can use one or both of the methods above, and get elegant, searchable text, it is no longer necessary to use GIFs or other image files for individual symbols. I plan to convert all my files from GIF symbols to Symbol font text symbols the next chance I get. (In the case of my logic course files, this means when I next teach the courses.)
What follows is the version of this page I had online before HTML 4.0 was announced. I no longer support or update it, but I retain it here for the minority of users for whom the methods above will not work.
So far HTML does not support most of the symbols that make up standard logic notation. I'd like to see this changed. While I don't detect much of a movement for this change, here are my notes in case others wish to help.
Relevant links
- One place to start is the page on Z Notation and its proposed HTML+ extensions.
- Unicode includes logic notation, but it will be some time before Unicode replaces ASCII or before HTML supports every character in Unicode.
- HTML and Unicode standards are both set by the International Standards Organization (ISO).
- If you get serious about this campaign, then you'll want to study the Internet Standards Process.
- The latest standard of HTML is version 4.0. It is not yet supported by mainstream browsers, but it does support a large number of logic and mathematics symbols.
- The World Wide Web Consortium math page is a good guide to efforts for putting mathematics on a web page, including some I don't list here (because they are multiplying very quickly).
- The two most promising techniques for inserting mathematics notation into your web pages seem to be the MINSE Project and WebEQ. Both are capable of inserting images of complex mathematical equations into your web pages, and hence may be overkill if you only want a logic symbol here and there.
- The MINSE Project, developed by a Canadian programmer named Ka-Ping Yee. MINSE stands for "Medium-Independent Notation for Structured Expressions". Essentially it is a macro language outside the HTML standard which renders mathematical expressions as graphics, or as text, or even as audio. Macro scripts are processed by a mediator service (a CGI script on a remote server), which is free of charge for individuals and educational institutions. It works with all web browsers, and neither the page author nor reader needs special software.
- WebEQ, developed by The Geometry Center. WebEQ uses 100% pure Java to create symbols or equations for your pages. You can write the applet code yourself of use a WebEQ auxilliary program with a simpler input language to do the work for you. If you have a Java-enabled browser, see this example of the applet code and the resulting notation image. (Note that the National Science Foundation, which funds The Geometry Center, had delayed plans to withdraw funding and shut the Center down. If you would like to follow up, read more about it.)
- IBM is giving away a browser plug-in called techexplorer, which renders TeX and LaTeX mark-up codes into graphic symbols.
- For other techniques for putting mathematical notation on a web page see Math and Hypertext and Math and HTML.
- On-line glossary of technical notation. Not really relevant to this project, but interesting. If you encounter a strange symbol and want to know what it means, use this glossary. From MathPro Press.
Logic symbols already supported by HTML Apart from ordinary keyboard symbols sometimes used in logic, such as "~" for negation, "&" for conjunction, "v" for disjunction, "-->" for material implication, <--> for material equivalence, "|" for the Sheffer stroke, the following special characters are supported by HTML:
Description Symbol HTML code Alternate negation sign ¬ ¬ Raised conjunction dot · · Null set Ø Ø Logic symbol GIFs Ira Carmel and I collaborated to make the following logic symbol GIFs for use on the web. (Ira did the hard part.) Here they are, for the world to steal.
They were designed to fit nicely with a 12 point font. But remember that even if you elect to present your page with a 12 point font, your reader may override your choice with his or her browser settings. So if you use these GIFs in a text file, you might want to include a warning that they appear at their best with a 12 point font.
Description Symbol Disjunction Material implication Material equivalence Negation of material equivalence Negation of equality Therefore Semantic consequence Syntactic consequence Existential quantifier Universal quantifier Set membership Denial of set membership Set intersection Set union Subset Proper subset One-to-one correspondence Aleph Gamma Delta Necessity Possibility Thank you, Ira! For examples of files in which I use these GIFs, see nearly any of the electronic hand-outs for my courses on Symbolic Logic (elementary) or Logical Systems (advanced).
Other Logic and Mathematics Symbol GIFs
- Logical Symbols. From Uwe Wiedemann. Most of his are better than most of mine (above).
- Mathematical icons. Character-sized icons for many common symbols.
- Mathematical Symbols for the HTML Environment. From Michael Hugh Knowles. If you give up using the real thing, these ASCII kludges are widely understood by other mathematicians. But why give up?
If you have any news or relevant links on this front, please let me know.
Peter Suber,
Department of Philosophy,
Earlham College, Richmond, Indiana, 47374, U.S.A.
peters@earlham.edu. Copyright © 1998, Peter Suber.