Online Simulation

And More

Top 25 Tags (all tags)

  1. algorithms
  2. aqme
  3. carbon nanotubes
  4. course lecture
  5. cyberinfrastructure
  6. devices
  7. education/outreach
  8. experiments
  9. material science
  10. molecular electronics
  11. nano/bio
  12. nanobio applications
  13. nano electro-mechanical systems
  14. nanoelectronics
  15. nanomedicine
  16. nanophotonics
  17. nano-transistors
  18. nanowires
  19. NEGF
  20. quantum dots
  21. quantum transport
  22. research seminar
  23. transistors
  24. tutorial
  25. uIllinois

Other

Trouble Report

For immediate assistance browse through our support center. You can find answers to many questions in just a few minutes.

If still experiencing problems, send us a report.

Sending report ...

Topics: Help: Wiki Math

Table of Contents

The Wiki supports LaTeX markup:

math_failure (math_image_error): pi=\frac{3}{4} \sqrt{3}+24 \int_0^{1/4}{\sqrt{x-x^2}dx}

Mathematical Formula (LaTeX) can be inserted into text like this:

<math>Insert formula here</math>

For example: <math>\alpha^2+\beta^2=1</math>

…displays

math_failure (math_image_error): \alpha^2+\beta^2=1

Displaying a Formula

The Wiki uses a subset of TeX markup, including some extensions from LaTeX and AMSLaTeX, for mathematical formulae. It generates either PNG images or simple HTML markup, depending on the complexity of the expression. While it can generate MathML, it is not currently used due to limited browser support. As browsers become more advanced and support for MathML becomes more wide-spread, this could be the preferred method of output as images have very real disadvantages.

Syntax

Math markup goes inside <math> ... </math>.

Pros of HTML

  1. In-line HTML formulae always align properly with the rest of the HTML text.
  2. The formula’s background, font size and face match the rest of HTML contents and the appearance respects CSS and browser settings.
  3. Pages using HTML will load faster.

Pros of TeX

  1. TeX is semantically superior to HTML. In TeX, “x“ means “mathematical variable

    math_failure (math_image_error): x

    “, whereas in HTMLx“ could mean anything. Information has been irrevocably lost.
  2. TeX has been specifically designed for typesetting formulae, so input is easier and more natural, and output is more aesthetically pleasing.
  3. One consequence of point 1 is that TeX can be transformed into HTML, but not vice-versa. This means that on the server side we can always transform a formula, based on its complexity and location within the text, user preferences, type of browser, etc. Therefore, where possible, all the benefits of HTML can be retained, together with the benefits of TeX. It’s true that the current situation is not ideal, but that’s not a good reason to drop information/contents. It’s more a reason to help improve the situation.
  4. Another consequence of point 1 is that TeX can be converted to MathML for browsers which support it, thus keeping its semantics and allowing it to be rendered vectorially.
  5. When writing in TeX, editors need not worry about whether this or that version of this or that browser supports this or that HTML entity. The burden of these decisions is put on the server. This doesn’t hold for HTML formulae, which can easily end up being rendered wrongly or differently from the editor’s intentions on a different browser.
  6. TeX is the preferred text formatting language of most professional mathematicians, scientists, and engineers. It is easier to persuade them to contribute if they can write in TeX.

Example Formulas

The following are a few examples of formulas:

<math>\sqrt{1-e^2}</math>

math_failure (math_image_error): \sqrt{1-e^2}

<math>overbrace{ 1+2+\cdots+100 }^{5050}</math>

math_failure (math_image_error): \overbrace{ 1+2+\cdots+100 }^{5050}

<math>ax^2 + bx + c = 0</math>

math_failure (math_image_error): ax^2 + bx + c = 0

<math>\int_{-N}^{N} e^x\, dx</math>

math_failure (math_image_error): \int_{-N}^{N} e^x\, dx

Last modified: 12 May, 2008